Example #1
0
def test_monitor():
    with pytest.raises(SystemExit):
        cli.monitor(
            []
        )  # argparse should raise systemexit without the mandatory arguments
Example #2
0
def test_monitor():
    cli.monitor()
Example #3
0
def test_monitor():
    with pytest.raises(SystemExit):
        cli.monitor([]) # argparse should raise systemexit without the mandatory arguments
Example #4
0
def test_monitor():
    cli.monitor()