From 6b7ea10ba223b9e4d6707a32bcd4a7862ddcb749 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 21 Nov 2021 19:18:37 +0100 Subject: [PATCH] PEP fix --- InvenTree/plugin/test_api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InvenTree/plugin/test_api.py b/InvenTree/plugin/test_api.py index 4914cfc53b..2a3f7531ff 100644 --- a/InvenTree/plugin/test_api.py +++ b/InvenTree/plugin/test_api.py @@ -80,17 +80,17 @@ class PluginDetailAPITest(InvenTreeAPITestCase): # deactivate plugin self.post(url, { 'action': 'plugin_deactivate', - '_selected_action': [f.pk for f in fixtures], + '_selected_action': [f.pk for f in fixtures], }, expected_code=200) # deactivate plugin - deactivate again -> nothing will hapen but the nothing 'changed' function is triggered self.post(url, { 'action': 'plugin_deactivate', - '_selected_action': [f.pk for f in fixtures], + '_selected_action': [f.pk for f in fixtures], }, expected_code=200) # activate plugin self.post(url, { 'action': 'plugin_activate', - '_selected_action': [f.pk for f in fixtures], + '_selected_action': [f.pk for f in fixtures], }, expected_code=200)