fix: format all code with black
and from now on should not deviate from that...
This commit is contained in:
parent
49f9a0228b
commit
a6bb538ce9
59 changed files with 2762 additions and 2131 deletions
|
@ -8,13 +8,13 @@ from wuttjamaican.cli import make_uuid as mod
|
|||
|
||||
|
||||
here = os.path.dirname(__file__)
|
||||
example_conf = os.path.join(here, 'example.conf')
|
||||
example_conf = os.path.join(here, "example.conf")
|
||||
|
||||
|
||||
class TestMakeUuid(TestCase):
|
||||
|
||||
def test_basic(self):
|
||||
ctx = MagicMock(params={'config_paths': [example_conf]})
|
||||
with patch.object(mod, 'sys') as sys:
|
||||
ctx = MagicMock(params={"config_paths": [example_conf]})
|
||||
with patch.object(mod, "sys") as sys:
|
||||
mod.make_uuid(ctx)
|
||||
sys.stdout.write.assert_called_once()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue