From 4e6e87d950fb93f7f296ed6bfbc600a34a54f51b Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 21 Nov 2021 19:19:44 +0100 Subject: [PATCH] fix test limitition --- InvenTree/plugin/test_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/InvenTree/plugin/test_api.py b/InvenTree/plugin/test_api.py index 2a3f7531ff..9bd35f9555 100644 --- a/InvenTree/plugin/test_api.py +++ b/InvenTree/plugin/test_api.py @@ -75,8 +75,7 @@ class PluginDetailAPITest(InvenTreeAPITestCase): fixtures = PluginConfig.objects.all() print([str(a) for a in fixtures]) - fixtures = fixtures.first() - + fixtures = fixtures[0:1] # deactivate plugin self.post(url, { 'action': 'plugin_deactivate',