Пример #1
0
def test_get_new_command():
    assert (get_new_command(Command('git branch list')) == shells.and_(
        'git branch --delete list', 'git branch'))
def test_get_new_command():
    assert get_new_command(Command("git branch list", "")) == shell.and_(
        "git branch --delete list", "git branch")
Пример #3
0
def test_get_new_command():
    assert (get_new_command(Command('git branch list'), None) ==
            shells.and_('git branch --delete list', 'git branch'))