From 48d458698a904e9e364e9023041a7b53f38f3498 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 May 2022 01:06:56 +0200 Subject: [PATCH] reduce lines --- InvenTree/common/tests.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/InvenTree/common/tests.py b/InvenTree/common/tests.py index 57f2979530..b4a301692d 100644 --- a/InvenTree/common/tests.py +++ b/InvenTree/common/tests.py @@ -500,9 +500,7 @@ class PluginSettingsApiTest(InvenTreeAPITestCase): # Non - exsistant plugin url = reverse('api-plugin-setting-detail', kwargs={'plugin': 'doesnotexist', 'key': 'doesnotmatter'}) - response = self.get(url, expected_code=404) - self.assertIn("Plugin 'doesnotexist' not installed", str(response.data)) def test_invalid_setting_key(self):