Skip to content

Commit

Permalink
chore: add print statement in creation of admin user
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanttV committed Aug 21, 2024
1 parent 73de764 commit 2d98bf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eox_core/tests/tutor/integration_test_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 2d98bf1

Please sign in to comment.