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'
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", "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", ]
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'])