Пример #1
0
def test_scanner():
    with pytest.raises(SystemExit):
        cli.scanner(
            []
        )  # argparse should raise systemexit without the mandatory arguments
Пример #2
0
def test_scanner():
    cli.scanner()
Пример #3
0
def test_scanner():
    with pytest.raises(SystemExit):
        cli.scanner([]) # argparse should raise systemexit without the mandatory arguments
Пример #4
0
def test_scanner():
    cli.scanner()