2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

PEP fixes

This commit is contained in:
Oliver Walters
2019-04-25 03:20:25 +10:00
parent 7c91c9ba79
commit 7b68310d73
12 changed files with 47 additions and 68 deletions

View File

@ -16,4 +16,4 @@ class CompanySimpleTest(TestCase):
def test_company_model(self):
c = Company.objects.get(pk=1)
self.assertEqual(c.name, 'ABC Co.')
self.assertEqual(c.get_absolute_url(), '/company/1/')
self.assertEqual(c.get_absolute_url(), '/company/1/')