mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
move failing test to seperate test
This commit is contained in:
parent
aeaf15b374
commit
8c6061d3b7
@ -204,6 +204,8 @@ class APICallMixinTest(BaseMixinDefinition, TestCase):
|
|||||||
self.assertTrue(result)
|
self.assertTrue(result)
|
||||||
self.assertIn('data', result,)
|
self.assertIn('data', result,)
|
||||||
|
|
||||||
|
def test_function_errors(self):
|
||||||
|
"""Test function errors"""
|
||||||
# wrongly defined plugins should not load
|
# wrongly defined plugins should not load
|
||||||
with self.assertRaises(ValueError):
|
with self.assertRaises(ValueError):
|
||||||
self.mixin_wrong.has_api_call()
|
self.mixin_wrong.has_api_call()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user