コード例 #1
0
ファイル: test_utils.py プロジェクト: liu4480/thefuck
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
コード例 #3
0
def match(command):
    return (is_app(command, 'adb')
            and command.output.startswith('Android Debug Bridge version'))
コード例 #4
0
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'))