def test_ret_str_equality(self): infile_path = INV_TEST_BAD prev_ret = INTEG_RET with open(prev_ret, "rt") as test_str: assert integrity_check(infile_path) == test_str.read()
def test_diff_files(self, infile_path): returned = integrity_check(infile_path) assert returned assert isinstance(returned, str)