diff --git a/tests/test_api_inventory_e2e.py b/tests/test_api_inventory_e2e.py index 5906bc1..0a525d5 100644 --- a/tests/test_api_inventory_e2e.py +++ b/tests/test_api_inventory_e2e.py @@ -206,7 +206,9 @@ class UserApiInventoryE2ETest(AuthenticatedApiMixin, APITestCase): profile_full_response = self.client.get(reverse("api_v1:user:profile_full")) self.assertEqual(profile_full_response.status_code, status.HTTP_200_OK) - self.assertEqual(profile_full_response.data["username"], register_payload["username"]) + self.assertEqual( + profile_full_response.data["username"], register_payload["username"] + ) password_change_response = self.client.post( reverse("api_v1:user:password_change"), @@ -628,7 +630,9 @@ class ExchangeApiInventoryE2ETest(AuthenticatedApiMixin, APITestCase): format="json", ) - active_connection = ExchangeConnection.objects.get(id=create_connection.data["id"]) + active_connection = ExchangeConnection.objects.get( + id=create_connection.data["id"] + ) get_active_connection_mock.return_value = active_connection delay_mock.return_value = SimpleNamespace(id="exchange-task-1") copy_response = self.client.post(copy_url, {"mode": "all"}, format="json") @@ -688,7 +692,9 @@ class ExchangeApiInventoryE2ETest(AuthenticatedApiMixin, APITestCase): ) self.assertTrue(PeriodicTask.objects.filter(id=periodic_id).exists()) - self.assertTrue(ExchangeConnection.objects.filter(id=active_connection.id).exists()) + self.assertTrue( + ExchangeConnection.objects.filter(id=active_connection.id).exists() + ) class BackupsApiInventoryE2ETest(AuthenticatedApiMixin, APITestCase):