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