mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
More unit test fix
This commit is contained in:
parent
03f7baf87f
commit
5c9dd93ff1
@ -122,7 +122,7 @@ class StockTest(TestCase):
|
|||||||
self.assertEqual(self.home.get_absolute_url(), '/stock/location/1/')
|
self.assertEqual(self.home.get_absolute_url(), '/stock/location/1/')
|
||||||
|
|
||||||
def test_barcode(self):
|
def test_barcode(self):
|
||||||
barcode = self.office.format_barcode()
|
barcode = self.office.format_barcode(brief=False)
|
||||||
|
|
||||||
self.assertIn('"name": "Office"', barcode)
|
self.assertIn('"name": "Office"', barcode)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user