def METHOD_NAME(self, name, unexpected_content_part):
    full_path = self.full_path(name)
    with open(full_path) as file:
        content = file.read()
        self.assertFalse(unexpected_content_part in content)