From 2c05b858a4afa2542a20556b6a5f3b6c8ea6f9e0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 9 Jan 2022 22:34:02 +0100 Subject: [PATCH] renmae var --- InvenTree/plugin/test_integration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugin/test_integration.py b/InvenTree/plugin/test_integration.py index 48533a70e2..a65fc85708 100644 --- a/InvenTree/plugin/test_integration.py +++ b/InvenTree/plugin/test_integration.py @@ -174,7 +174,7 @@ class APICallMixinTest(BaseMixinDefinition, TestCase): class WrongCLS(APICallMixin, IntegrationPluginBase): pass - self.mixin_nothing = WrongCLS() + self.mixin_wrong = WrongCLS() def test_function(self): # api_url @@ -192,7 +192,7 @@ class APICallMixinTest(BaseMixinDefinition, TestCase): # wrongly defined plugins should not load with self.assertRaises(ValueError): - self.mixin_nothing.has_api_call() + self.mixin_wrong.has_api_call() class IntegrationPluginBaseTests(TestCase):