mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
Add PEP8-naming extension for flake
- Enforcing python naming checks
This commit is contained in:
1 parent
47cbf3071d
commit
ae7fbd6112
22 files changed
+84
-78
No files matched your search
@@ -18,9 +18,9 @@ class SettingsTest(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
||||
User = get_user_model()
|
||||
user = get_user_model()
|
||||
|
||||
self.user = User.objects.create_user('username', 'user@email.com', 'password')
|
||||
self.user = user.objects.create_user('username', 'user@email.com', 'password')
|
||||
self.user.is_staff = True
|
||||
self.user.save()
|
||||
|
||||
|
||||
Reference in new issue
Block a user