improvements to csv loading code

This commit is contained in:
Sam
2021-02-26 12:47:23 +00:00
parent fb2da7d2cf
commit 874068881d
3 changed files with 50 additions and 18 deletions

View File

@@ -452,8 +452,8 @@ class LoadCoopManagerTestCase(APITestCase):
# send in request
response = self.client.post(self.endpoint, files)
# check re sponse
import ipdb; ipdb.set_trace()
# check response
self.assertEqual(response.status_code, 200)
# check for object creation
self.assertEquals(company_count + 5, self.company_model.objects.count())