def assertFileContentNotEqual(self, file_name, reference_content):
    actual_content = utils.ReadFile(file_name)
    self.assertNotEqual(actual_content, reference_content)
Checks that the content of a file is different to the reference.
dataset/ETHPy150Open ganeti/ganeti/test/py/testutils/__init__.py/GanetiTestCase.assertFileContentNotEqual