def test_get_new_command(): assert get_new_command(Command(script='cp dir'), None) == 'cp -a dir'
def test_get_new_command(): assert get_new_command(Command("cp dir", "")) == "cp -a dir"
def test_get_new_command(): assert get_new_command(Command('cp dir', '')) == 'cp -a dir'