def assertFileContent(self, file_name, expected_content):
    actual_content = utils.ReadFile(file_name)
    self.assertEqual(actual_content, expected_content)
Checks that the content of a file is what we expect.
dataset/ETHPy150Open ganeti/ganeti/test/py/testutils/__init__.py/GanetiTestCase.assertFileContent