2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 01:36:29 +00:00

PEP and unit testing fixes

This commit is contained in:
Oliver Walters
2020-04-25 23:24:00 +10:00
parent 77361bd0a2
commit 4f0efec39f
3 changed files with 10 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ class BuildTestSimple(TestCase):
self.assertEqual(b.batch, 'B2')
self.assertEqual(b.quantity, 21)
self.assertEqual(str(b), 'Build 21 x Orphan - A part without a category')
self.assertEqual(str(b), '21 x Orphan')
def test_url(self):
b1 = Build.objects.get(pk=1)