From 8c6061d3b754adc3ac1bad0710b8bf0f7882713c Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 May 2022 02:32:26 +0200 Subject: [PATCH] move failing test to seperate test --- InvenTree/plugin/base/integration/test_mixins.py | 2 ++ 1 file changed, 2 insertions(+) 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()