@@ -258,8 +258,8 @@ def test_can_create_same_label_in_multiple_projects(self):
258258 self .assertEqual (response .status_code , status .HTTP_201_CREATED )
259259
260260 def test_can_create_same_suffix_with_different_prefix (self ):
261- self .client .login (username = self .super_user_name ,
262- password = self .super_user_pass )
261+ self .client .login (username = self .admin_user_name ,
262+ password = self .admin_user_pass )
263263 label = {'text' : 'Person' , 'prefix_key' : None , 'suffix_key' : 'p' }
264264 response = self .client .post (self .url , format = 'json' , data = label )
265265 self .assertEqual (response .status_code , status .HTTP_201_CREATED )
@@ -268,8 +268,8 @@ def test_can_create_same_suffix_with_different_prefix(self):
268268 self .assertEqual (response .status_code , status .HTTP_201_CREATED )
269269
270270 def test_cannot_create_same_shortcut_key (self ):
271- self .client .login (username = self .super_user_name ,
272- password = self .super_user_pass )
271+ self .client .login (username = self .admin_user_name ,
272+ password = self .admin_user_pass )
273273 label = {'text' : 'Person' , 'prefix_key' : None , 'suffix_key' : 'p' }
274274 response = self .client .post (self .url , format = 'json' , data = label )
275275 self .assertEqual (response .status_code , status .HTTP_201_CREATED )
0 commit comments