def METHOD_NAME(self):
    path = "src/file.py"
    ref = "537f2e94fbc489b2564ca3d6a5f0bd9afa38c3c3"
    responses.add(
        responses.HEAD,
        f"https://example.gitlab.com/api/v4/projects/{self.gitlab_id}/repository/files/src%2Ffile.py?ref={ref}",
        json={"text": 200},
    )
    resp = self.gitlab_client.check_file(self.repo, path, ref)
    assert responses.calls[0].response.status_code == 200
    assert resp.status_code == 200