mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-08 11:16:25 +00:00
PEP fixes
This commit is contained in:
1 parent
d72efc3757
commit
e3c3ed28da
2 files changed
+3
-2
No files matched your search
@@ -643,6 +643,7 @@ class BaseInvenTreeSetting(models.Model):
|
||||
def protected(self):
|
||||
return self.__class__.is_protected(self.key)
|
||||
|
||||
|
||||
def settings_group_options():
|
||||
"""
|
||||
Build up group tuple for settings based on your choices
|
||||
|
||||
@@ -222,8 +222,8 @@ class UserSettingsApiTest(InvenTreeAPITestCase):
|
||||
Test list URL for user settings
|
||||
"""
|
||||
url = reverse('api-user-setting-list')
|
||||
# test setting with choice
|
||||
response = self.get(url, expected_code=200)
|
||||
|
||||
self.get(url, expected_code=200)
|
||||
|
||||
def test_user_setting_boolean(self):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user