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/')
|
||||
|
||||
def test_barcode(self):
|
||||
barcode = self.office.format_barcode()
|
||||
barcode = self.office.format_barcode(brief=False)
|
||||
|
||||
self.assertIn('"name": "Office"', barcode)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue