2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Add unit testing for PartCategory tree updates

This commit is contained in:
Oliver
2022-03-10 15:33:29 +11:00
parent 82840b0590
commit 266e5555c5
2 changed files with 119 additions and 1 deletions

View File

@ -688,7 +688,6 @@ class StockTest(TestCase):
self.assertEqual(C22.parent, B2)
ancestors = C21.get_ancestors()
print("C21 ancestors:", ancestors)
self.assertEqual(C21.get_ancestors().count(), 1)
self.assertEqual(C22.get_ancestors().count(), 1)