diff --git a/InvenTree/part/test_category.py b/InvenTree/part/test_category.py index f25f0b87ea..53030d402a 100644 --- a/InvenTree/part/test_category.py +++ b/InvenTree/part/test_category.py @@ -160,10 +160,6 @@ class CategoryTest(TestCase): self.assertEqual(str(self.fasteners.default_location), 'Office/Drawer_1 - In my desk') - # Test that parts in this location return the same default location, too - for p in self.fasteners.children.all(): - self.assert_equal(p.get_default_location().pathstring, 'Office/Drawer_1') - # Any part under electronics should default to 'Home' r1 = Part.objects.get(name='R_2K2_0805') self.assertIsNone(r1.default_location)