remove dead test

This commit is contained in:
Matthias 2022-02-13 17:41:27 +01:00
parent ad41957127
commit 67a4f75856
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -160,10 +160,6 @@ class CategoryTest(TestCase):
self.assertEqual(str(self.fasteners.default_location), 'Office/Drawer_1 - In my desk') 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' # Any part under electronics should default to 'Home'
r1 = Part.objects.get(name='R_2K2_0805') r1 = Part.objects.get(name='R_2K2_0805')
self.assertIsNone(r1.default_location) self.assertIsNone(r1.default_location)