Exemplo n.º 1
0
def test_not_match(command):
    assert not match(command)
Exemplo n.º 2
0
def test_match_mocked(subp_mock, command, return_value):
    subp_mock.check_output.return_value = return_value
    assert match(command)
Exemplo n.º 3
0
def test_match(command):
    assert match(command)
Exemplo n.º 4
0
def test_not_match(command):
    assert not match(command)
Exemplo n.º 5
0
def test_match_mocked(subp_mock, command, return_value):
    subp_mock.check_output.return_value = return_value
    assert match(command)
Exemplo n.º 6
0
def test_match(command):
    assert match(command)