From a7cba2320bb04d6d8c5fb7486b01f5b74bc38a4c Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 26 Sep 2021 15:20:31 +0200 Subject: [PATCH] style fix --- InvenTree/plugins/test_plugin.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/InvenTree/plugins/test_plugin.py b/InvenTree/plugins/test_plugin.py index 36208dd5a1..12e82c0a2f 100644 --- a/InvenTree/plugins/test_plugin.py +++ b/InvenTree/plugins/test_plugin.py @@ -3,7 +3,7 @@ from django.test import TestCase import plugins.plugin -from plugins.plugins import load_action_plugins, load_barcode_plugins, load_integration_plugins +from plugins.plugins import load_integration_plugins # , load_action_plugins, load_barcode_plugins class InvenTreePluginTests(TestCase): @@ -34,9 +34,9 @@ class PluginIntegrationTests(TestCase): def test_plugin_loading(self): """check if plugins load as expected""" plugin_names_integration = [a().plugin_name() for a in load_integration_plugins()] - #plugin_names_barcode = [a().plugin_name() for a in load_barcode_plugins()] # TODO refactor barcode plugin to support standard loading - #plugin_names_action = [a().plugin_name() for a in load_action_plugins()] # TODO refactor action plugin to support standard loading + # plugin_names_barcode = [a().plugin_name() for a in load_barcode_plugins()] # TODO refactor barcode plugin to support standard loading + # plugin_names_action = [a().plugin_name() for a in load_action_plugins()] # TODO refactor action plugin to support standard loading self.assertEqual(plugin_names_integration, ['NoIntegrationPlugin', 'WrongIntegrationPlugin', 'SampleIntegrationPlugin']) - #self.assertEqual(plugin_names_action, '') - #self.assertEqual(plugin_names_barcode, '') + # self.assertEqual(plugin_names_action, '') + # self.assertEqual(plugin_names_barcode, '')