mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
remove dead test
This commit is contained in:
parent
ad41957127
commit
67a4f75856
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user