Skip to content

Commit

Permalink
Fix tests super good?
Browse files Browse the repository at this point in the history
Issue: AAH-2781

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Oct 13, 2023
1 parent 9e4d706 commit 649f75e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galaxy_ng/tests/unit/api/test_api_ui_user_viewsets.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logging

from django.conf import settings as django_settings
from django.test import override_settings
from rest_framework import status
from rest_framework.test import APIClient
Expand Down Expand Up @@ -168,7 +169,7 @@ def _test_user_get(expected=None):
self.client.force_authenticate(user=self.admin_user)
url = "{}{}/".format(self.user_url, self.user.id)
response = self.client.get(url)
self.assertEqual(response.status_code, expected)
self.assertEqual(response.status_code, status.HTTP_200_OK)
data = response.data
self.assertEqual(data["email"], self.user.email)
self.assertEqual(data["first_name"], self.user.first_name)
Expand Down

0 comments on commit 649f75e

Please sign in to comment.