2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-14 08:19:54 +00:00

Fixed unit tests

This commit is contained in:
Oliver Walters
2019-09-06 12:48:31 +10:00
parent 9bde8bde66
commit dac1264878
3 changed files with 6 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ class PartTest(TestCase):
self.assertEqual(self.R1.get_absolute_url(), '/part/3/')
def test_category(self):
self.assertEqual(str(self.C1.category), 'Electronics/Capacitors')
self.assertEqual(str(self.C1.category), 'Electronics/Capacitors - Capacitors')
orphan = Part.objects.get(name='Orphan')
self.assertIsNone(orphan.category)