def check(self, wanted_text):
        for line in self.header_lines:
            if wanted_text in line:
                return
        assert False, "%s not found in header lines" % wanted_text
dataset/ETHPy150Open cloudaice/simple-data/misc/virtenv/share/doc/pycurl/tests/header_function_test.py/HeaderFunctionTest.check/original