test fixes
This commit is contained in:
@@ -320,7 +320,7 @@ class LoadCoopProductsTestCase(APITestCase):
|
||||
response = self.client.post(self.endpoint, files)
|
||||
|
||||
# check response
|
||||
self.assertEqual(response.status_code, 403)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
# check for object creation
|
||||
self.assertEqual(0, self.model.objects.count())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user