2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 19:45:46 +00:00

renmae var

This commit is contained in:
Matthias
2022-01-09 22:34:02 +01:00
parent c8599039a2
commit 2c05b858a4

View File

@ -174,7 +174,7 @@ class APICallMixinTest(BaseMixinDefinition, TestCase):
class WrongCLS(APICallMixin, IntegrationPluginBase): class WrongCLS(APICallMixin, IntegrationPluginBase):
pass pass
self.mixin_nothing = WrongCLS() self.mixin_wrong = WrongCLS()
def test_function(self): def test_function(self):
# api_url # api_url
@ -192,7 +192,7 @@ class APICallMixinTest(BaseMixinDefinition, TestCase):
# wrongly defined plugins should not load # wrongly defined plugins should not load
with self.assertRaises(ValueError): with self.assertRaises(ValueError):
self.mixin_nothing.has_api_call() self.mixin_wrong.has_api_call()
class IntegrationPluginBaseTests(TestCase): class IntegrationPluginBaseTests(TestCase):