generated from Luis/nextjs-python-web-template
clan-config: add readme
Also add capability of reading an option value
This commit is contained in:
@@ -37,7 +37,7 @@ def test_set_some_option(
|
||||
with tempfile.NamedTemporaryFile() as out_file:
|
||||
with open(out_file.name, "w") as f:
|
||||
json.dump({}, f)
|
||||
monkeypatch.setattr(sys, "argv", ["", "--out-file", out_file.name] + argv)
|
||||
monkeypatch.setattr(sys, "argv", ["", "--settings-file", out_file.name] + argv)
|
||||
parser = argparse.ArgumentParser()
|
||||
config._register_parser(
|
||||
parser=parser,
|
||||
|
||||
Reference in New Issue
Block a user