diff --git a/InvenTree/plugin/base/integration/test_mixins.py b/InvenTree/plugin/base/integration/test_mixins.py index b87583f301..d3912a355a 100644 --- a/InvenTree/plugin/base/integration/test_mixins.py +++ b/InvenTree/plugin/base/integration/test_mixins.py @@ -204,6 +204,8 @@ class APICallMixinTest(BaseMixinDefinition, TestCase): self.assertTrue(result) self.assertIn('data', result,) + def test_function_errors(self): + """Test function errors""" # wrongly defined plugins should not load with self.assertRaises(ValueError): self.mixin_wrong.has_api_call()