added custom user endpoints
This commit is contained in:
@@ -30,7 +30,7 @@ class ProductViewSetTest(APITestCase):
|
||||
self.password = ''.join(random.choices(string.ascii_uppercase, k = 10))
|
||||
self.user = CustomUserFactory(password=self.password)
|
||||
|
||||
# user not authenticated
|
||||
# anon user
|
||||
def test_anon_user_cannot_create_instance(self):
|
||||
"""Not logged-in user cannot create new instance
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user