PEP fixes

This commit is contained in:
Oliver Walters 2019-04-25 18:50:22 +10:00
parent 2ab8276672
commit 1112e5e3e2
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)