def test_get_new_command(is_not_task):
    assert (get_new_command(Command('lein rpl --help', is_not_task))
            == ['lein repl --help', 'lein jar --help'])
def test_get_new_command(is_not_task):
    assert get_new_command(Mock(script='lein rpl --help', stderr=is_not_task),
                           None) == 'lein repl --help'
Exemple #3
0
def test_get_new_command(is_not_task):
    assert (get_new_command(
        Command('lein rpl --help',
                is_not_task)) == ['lein repl --help', 'lein jar --help'])
Exemple #4
0
def test_get_new_command(is_not_task):
    assert get_new_command(Mock(script="lein rpl --help", stderr=is_not_task), None) == [
        "lein repl --help",
        "lein jar --help",
    ]
def test_get_new_command(is_not_task):
    assert get_new_command(Command("lein rpl --help", is_not_task)) == [
        "lein repl --help",
        "lein jar --help",
    ]
Exemple #6
0
def test_get_new_command(is_not_task):
    assert get_new_command(
        Command(script='lein rpl --help', stderr=is_not_task),
        None) == ['lein repl --help', 'lein jar --help']
def test_get_new_command(is_not_task):
    assert (get_new_command(Command(script='lein rpl --help', stderr=is_not_task))
            == ['lein repl --help', 'lein jar --help'])