From d3cc698500d7c974aa23b988f97615cb01c41af0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 May 2022 01:05:49 +0200 Subject: [PATCH] merge tests together --- InvenTree/common/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/common/tests.py b/InvenTree/common/tests.py index 4a95cad72a..57f2979530 100644 --- a/InvenTree/common/tests.py +++ b/InvenTree/common/tests.py @@ -496,9 +496,9 @@ class PluginSettingsApiTest(InvenTreeAPITestCase): self.assertTrue(response.data['type'], 'string') self.assertTrue(response.data['description'], 'Key required for accessing external API') - def test_invalid_plugin_slug(self): - """Test that an invalid plugin slug returns a 404""" + # Failure mode tests + # Non - exsistant plugin url = reverse('api-plugin-setting-detail', kwargs={'plugin': 'doesnotexist', 'key': 'doesnotmatter'}) response = self.get(url, expected_code=404)