2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-18 18:56:31 +00:00

Further tests for order

This commit is contained in:
Oliver Walters
2019-06-17 22:10:37 +10:00
parent 9c29976511
commit b9dc4a0c2f
3 changed files with 70 additions and 2 deletions

View File

@@ -56,10 +56,10 @@ class CompanySimpleTest(TestCase):
zerg = Company.objects.get(pk=3)
self.assertTrue(acme.has_parts)
self.assertEqual(acme.part_count, 2)
self.assertEqual(acme.part_count, 3)
self.assertTrue(appel.has_parts)
self.assertEqual(appel.part_count, 1)
self.assertEqual(appel.part_count, 2)
self.assertTrue(zerg.has_parts)
self.assertEqual(zerg.part_count, 1)