fixed error in serialier change ofr product search
This commit is contained in:
@@ -311,6 +311,8 @@ class ProductViewSetTest(APITestCase):
|
||||
|
||||
# Assert instance has been modified
|
||||
for key in data:
|
||||
if key == 'company':
|
||||
continue
|
||||
self.assertEqual(data[key], response.data[key])
|
||||
|
||||
def test_auth_user_cannot_modify_other_users_instance(self):
|
||||
|
||||
Reference in New Issue
Block a user