mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
reduce lines
This commit is contained in:
parent
d3cc698500
commit
48d458698a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user