mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
bug fix
This commit is contained in:
parent
920e7e0bb7
commit
a44267c306
@ -233,11 +233,11 @@ class InvenTreeAPITestCase(APITestCase):
|
||||
|
||||
if required_cols is not None:
|
||||
for col in required_cols:
|
||||
self.assertIn(col, required_cols)
|
||||
self.assertIn(col, headers)
|
||||
|
||||
if excluded_cols is not None:
|
||||
for col in excluded_cols:
|
||||
self.assertNotIn(col, excluded_cols)
|
||||
self.assertNotIn(col, headers)
|
||||
|
||||
if required_rows is not None:
|
||||
self.assertEqual(len(rows), required_rows)
|
||||
|
Loading…
Reference in New Issue
Block a user