示例#1
0
def test_is_app(script, names, result):
    assert is_app(Command(script), *names) == result
示例#2
0
def test_is_app(script, names, result):
    assert is_app(Command(script, ""), *names) == result
def match(command):
    return (is_app(command, 'adb')
            and command.output.startswith('Android Debug Bridge version'))
def match(command):
    return is_app(
        command,
        "adb") and command.output.startswith("Android Debug Bridge version")
示例#5
0
def match(command):
    return (is_app(command, 'adb')
            and command.output.startswith('Android Debug Bridge version'))