Mirror test layout, domcontentloaded waits, backup DB writes outside threads
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# retoor <retoor@molodetz.nl>
|
||||
from molodetz.cli.main import build_parser
|
||||
|
||||
|
||||
def test_parser_groups():
|
||||
parser = build_parser()
|
||||
args = parser.parse_args(["posts", "import", "notitie.md", "--topic", "standaard"])
|
||||
assert args.topic == "standaard" and args.path == "notitie.md"
|
||||
args = parser.parse_args(["system", "prune", "--dry-run"])
|
||||
assert args.dry_run is True
|
||||
args = parser.parse_args(["role", "set", "retoor", "Admin"])
|
||||
assert args.role == "Admin"
|
||||
Reference in New Issue
Block a user