fix black and ruff checks

This commit is contained in:
Jörg Thalheim
2023-07-21 13:03:51 +02:00
parent 926de547e2
commit 3ce01871e5
3 changed files with 13 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ def test_make_parser():
parser = argparse.ArgumentParser()
clan_admin.make_parser(parser)
# using fp fixture from pytest-subprocess
def test_create(fp):
cmd = ["nix", "flake", "init", "-t", fp.any()]
@@ -14,4 +15,3 @@ def test_create(fp):
args = argparse.Namespace(folder="./my-clan")
clan_admin.create(args)
assert fp.call_count(cmd) == 1