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