2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

PEP fixes

This commit is contained in:
Oliver Walters
2022-05-08 22:53:49 +10:00
parent e78a5dc104
commit aed02f6f0f
4 changed files with 5 additions and 5 deletions

View File

@ -469,7 +469,7 @@ class PluginSettingsApiTest(InvenTreeAPITestCase):
"""List installed plugins via API"""
url = reverse('api-plugin-list')
response = self.get(url, expected_code=200)
self.get(url, expected_code=200)
def test_api_list(self):
"""Test list URL"""
@ -479,7 +479,7 @@ class PluginSettingsApiTest(InvenTreeAPITestCase):
def test_invalid_plugin_slug(self):
"""Test that an invalid plugin slug returns a 404"""
url = reverse('api-plugin-setting-detail', kwargs={'plugin': 'doesnotexist', 'key': 'doesnotmatter'})
response = self.get(url, expected_code=404)