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:
@ -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)
|
||||
|
Reference in New Issue
Block a user