mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix unit tests
This commit is contained in:
parent
82a6ff7772
commit
b8a3117c83
@ -219,6 +219,7 @@ class APITests(InvenTreeAPITestCase):
|
|||||||
|
|
||||||
actions = self.getActions(url)
|
actions = self.getActions(url)
|
||||||
|
|
||||||
self.assertEqual(len(actions), 2)
|
self.assertEqual(len(actions), 3)
|
||||||
|
self.assertIn('GET', actions.keys())
|
||||||
self.assertIn('PUT', actions.keys())
|
self.assertIn('PUT', actions.keys())
|
||||||
self.assertIn('DELETE', actions.keys())
|
self.assertIn('DELETE', actions.keys())
|
||||||
|
Loading…
Reference in New Issue
Block a user