def METHOD_NAME(self):
    check = self.mk_check()
    bin_path = pjoin(self.repo.location, "foo")
    with open(bin_path, "wb") as f:
        f.write(b"\xd3\xad\xbe\xef")
    r = self.assertReport(check, [])
    assert isinstance(r, repo.BinaryFile)
    assert r.path == "foo"
    assert "'foo'" in str(r)