def test_fixed_ref_no_such_ref(qisrc_action, git_server, record_messages):
    git_server.create_repo("foo.git")
    qisrc_action("init", git_server.manifest_url)
    git_server.set_fixed_ref("foo.git", "v0.1")
    rc = qisrc_action("sync", retcode=True)
    assert rc != 0
    assert record_messages.find("Could not parse v0.1 as a valid ref")
dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/test/test_qisrc_sync.py/test_fixed_ref_no_such_ref/original