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

Fixes for unit testing

This commit is contained in:
Oliver Walters
2020-10-19 23:31:52 +11:00
parent 9b7a9a3ee0
commit c13cee2407
2 changed files with 3 additions and 1 deletions

View File

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