reduce lines

This commit is contained in:
Matthias 2022-05-15 01:06:56 +02:00
parent d3cc698500
commit 48d458698a
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -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):