def test_scanner(): with pytest.raises(SystemExit): cli.scanner( [] ) # argparse should raise systemexit without the mandatory arguments
def test_scanner(): cli.scanner()
def test_scanner(): with pytest.raises(SystemExit): cli.scanner([]) # argparse should raise systemexit without the mandatory arguments