def test_not_match(run_script, command, run_script_out):
    run_script.stdout = BytesIO(run_script_out)
    assert not match(command)
Exemple #2
0
def test_not_match(run_script, command, run_script_out):
    run_script.stdout = BytesIO(run_script_out)
    assert not match(command)
def test_match(script):
    command = Command(script, output)
    assert match(command)
Exemple #4
0
def test_match(script):
    command = Command(script, output)
    assert match(command)