fix: format all code with black
and from now on should not deviate from that...
This commit is contained in:
parent
eb9291fce7
commit
1b4ba2089a
19 changed files with 248 additions and 205 deletions
|
@ -9,8 +9,8 @@ from wutta_corepos.db import model as mod
|
|||
class TestCoreUser(ConfigTestCase):
|
||||
|
||||
def test_str(self):
|
||||
user = User(username='barney')
|
||||
self.assertEqual(str(user), 'barney')
|
||||
user = User(username="barney")
|
||||
self.assertEqual(str(user), "barney")
|
||||
|
||||
ext = mod.CoreUser(user=user, corepos_employee_number=42)
|
||||
self.assertEqual(str(ext), 'barney')
|
||||
self.assertEqual(str(ext), "barney")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue