diff --git a/src/backend/InvenTree/plugin/base/locate/__init__.py b/src/backend/InvenTree/plugin/base/locate/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/backend/InvenTree/plugin/base/locate/test_locate.py b/src/backend/InvenTree/plugin/base/locate/test_locate.py index e47d4a6cb5..4bc152d71c 100644 --- a/src/backend/InvenTree/plugin/base/locate/test_locate.py +++ b/src/backend/InvenTree/plugin/base/locate/test_locate.py @@ -11,6 +11,15 @@ from stock.models import StockItem, StockLocation class LocatePluginTests(InvenTreeAPITestCase): """Tests for LocateMixin.""" + def setUp(self): + """Set up the test case.""" + super().setUp() + + # Activate plugin + config = registry.get_plugin('samplelocate').plugin_config() + config.active = True + config.save() + fixtures = ['category', 'part', 'location', 'stock'] def test_installed(self):