Ejemplo n.º 1
0
def test_get_new_command():
    assert get_new_command(
        Command('grep blah .'), None) == 'grep -r blah .'
Ejemplo n.º 2
0
def test_get_new_command():
    assert get_new_command(Command('grep blah .', '')) == 'grep -r blah .'
    assert get_new_command(Command(u'grep café .', '')) == u'grep -r café .'
Ejemplo n.º 3
0
def test_get_new_command():
    assert get_new_command(Command('grep blah .')) == 'grep -r blah .'
def test_get_new_command():
    assert get_new_command(Command("grep blah .", "")) == "grep -r blah ."
    assert get_new_command(Command(u"grep café .", "")) == u"grep -r café ."