def test_get_new_command(zip_error, script, fixed, filename): zip_error(filename) assert get_new_command(Command(script=script)) == fixed
def test_get_new_command(zip_error, script, fixed): assert get_new_command(Command(script=script), None) == fixed
def test_get_new_command(zip_error, script, fixed): assert get_new_command(Command(script=script)) == fixed