move failing test to seperate test

This commit is contained in:
Matthias 2022-05-15 02:32:26 +02:00
parent aeaf15b374
commit 8c6061d3b7
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -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()