test(itam): Dont use constants where variables should be used

ref: #742
This commit is contained in:
2025-05-08 14:52:35 +09:30
parent b9ac588f87
commit 1058659174

View File

@ -25,10 +25,10 @@ class UserPermissionsAPI(TestCase):
self.url_kwargs = {}
self.url_view_kwargs = {'pk': 1}
self.view_user = User.objects.create_user(username="test_user_view", password="password")
self.url_view_kwargs = {'pk': self.view_user.pk}
def test_view_user_anon_denied(self):