mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
Tests for stock app
- Increase coverage of Stock/models.py to 84%
This commit is contained in:
@ -42,7 +42,7 @@ class CategoryTest(TestCase):
|
||||
childs = self.p1.getUniqueChildren()
|
||||
|
||||
self.assertIn(self.p2.id, childs)
|
||||
self.assertIn(self.p2.id, childs)
|
||||
self.assertIn(self.p3.id, childs)
|
||||
|
||||
def test_unique_parents(self):
|
||||
parents = self.p2.getUniqueParents()
|
||||
|
Reference in New Issue
Block a user