testing purchase_email but getting 401 with AllowAny

This commit is contained in:
Sam
2021-03-09 13:00:59 +00:00
parent 89e3e446f3
commit 4218d94a26
4 changed files with 41 additions and 4 deletions

View File

@@ -293,6 +293,7 @@ class CompanyViewSetTest(APITestCase):
# check order
self.assertTrue(response.data[0]['id'] > response.data[1]['id'])
# TODO: test email_manager action
class MyCompanyViewTest(APITestCase):
"""CompanyViewset tests