From 64d0f7e6334dc1aac6548fdc970b33f907ccbde2 Mon Sep 17 00:00:00 2001 From: Bryann Valderrama Date: Wed, 21 Aug 2024 14:05:15 -0500 Subject: [PATCH] chore: add print statement in creation of admin user --- eox_core/tests/tutor/integration_test_users.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eox_core/tests/tutor/integration_test_users.py b/eox_core/tests/tutor/integration_test_users.py index f64d8969c..6edd9599e 100644 --- a/eox_core/tests/tutor/integration_test_users.py +++ b/eox_core/tests/tutor/integration_test_users.py @@ -74,12 +74,12 @@ def create_tenant(name: str, host: str) -> str: SITE_ID=2, EOX_CORE_USERS_BACKEND="eox_core.edxapp_wrapper.backends.users_m_v1", ) -class TestUserIntegration(TestCase): +class TestUsersAPIIntegration(TestCase): """Integration test suite for the Users API""" def setUp(self): - self.grade_endpoint = "eox-core/api/v1/grade/" self.admin_user = create_admin_user() + print(f"\n\nAdmin user: {self.admin_user}\n\n") create_oauth_client(self.admin_user) self.tenant_x_domain = create_tenant("Tenant X", "tenant-x") self.tenant_x_token = self.get_access_token(self.tenant_x_domain) @@ -115,7 +115,7 @@ def test_create_user_in_tenant(self): "activate_user": True, } headers = {"Authorization": f"Bearer {self.tenant_x_token}"} - print(f'\n\nHeaders: {headers}\n\n') + print(f"\n\nHeaders: {headers}\n\n") response = self.client.post(path, data=data, headers=headers)