add remove uknown method (#29)

This commit is contained in:
2021-09-03 02:28:27 +03:00
committed by GitHub
parent 233ba9c415
commit f49894107a
7 changed files with 177 additions and 0 deletions

View File

@ -140,6 +140,14 @@ def test_subparsers_remove(parser: argparse.ArgumentParser) -> None:
assert args.architecture == []
def test_subparsers_remove_unknown(parser: argparse.ArgumentParser) -> None:
"""
remove-unknown command must imply empty architectures list
"""
args = parser.parse_args(["remove-unknown"])
assert args.architecture == []
def test_subparsers_report(parser: argparse.ArgumentParser) -> None:
"""
report command must imply empty architectures list