Clean up and refactor a bit

This commit is contained in:
Thu Trang Pham committed 2020-11-08 07:48:45 -08:00
1 parent b845e57285
commit c586100098
2 files changed
+11 -12

No files matched your search

-1
View File
@@ -105,7 +105,6 @@ class TestAdminConfirmMixin(TestCase):
response = self.client.post(
f'/admin/market/shop/{shop.id}/change/', data)
# Redirects to changelist
print(response)
self.assertEqual(response.status_code, 302)
self.assertEqual(response.url, '/admin/market/shop/')
# Shop has changed