mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fixes for unit testing
This commit is contained in:
parent
6bdac076d7
commit
d9e1302eaf
@ -247,7 +247,7 @@ class BuildTest(TestCase):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
self.assertFalse(self.build.is_fully_allocated(None, verbose=True))
|
self.assertFalse(self.build.is_fully_allocated(None))
|
||||||
|
|
||||||
unallocated = self.build.unallocated_bom_items(None)
|
unallocated = self.build.unallocated_bom_items(None)
|
||||||
|
|
||||||
@ -260,7 +260,7 @@ class BuildTest(TestCase):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
self.assertFalse(self.build.is_fully_allocated(None, verbose=True))
|
self.assertFalse(self.build.is_fully_allocated(None))
|
||||||
|
|
||||||
unallocated = self.build.unallocated_bom_items(None)
|
unallocated = self.build.unallocated_bom_items(None)
|
||||||
|
|
||||||
@ -331,7 +331,7 @@ class BuildTest(TestCase):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
self.assertTrue(self.build.is_fully_allocated(None, verbose=True))
|
self.assertTrue(self.build.is_fully_allocated(None))
|
||||||
self.assertTrue(self.build.is_fully_allocated(self.output_1))
|
self.assertTrue(self.build.is_fully_allocated(self.output_1))
|
||||||
self.assertTrue(self.build.is_fully_allocated(self.output_2))
|
self.assertTrue(self.build.is_fully_allocated(self.output_2))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user