mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
2ab8276672
commit
1112e5e3e2
@ -72,5 +72,5 @@ class CategoryTest(TestCase):
|
||||
self.p2.delete()
|
||||
|
||||
self.assertEqual(Part.objects.filter(category=self.p1).count(), 2)
|
||||
|
||||
|
||||
self.assertEqual(PartCategory.objects.get(pk=self.p3.id).parent, self.p1)
|
||||
|
@ -35,4 +35,4 @@ class SimplePartTest(TestCase):
|
||||
def test_stock(self):
|
||||
# Stock should initially be zero
|
||||
self.assertEqual(self.px.total_stock, 0)
|
||||
self.assertEqual(self.py.available_stock, 0)
|
||||
self.assertEqual(self.py.available_stock, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user