def assertFileGid(self, file_name, expected_gid):
    st = os.stat(file_name)
    actual_gid = st.st_gid
    self.assertEqual(actual_gid, expected_gid)
Checks that the group id of a file is what we expect.
dataset/ETHPy150Open ganeti/ganeti/test/py/testutils/__init__.py/GanetiTestCase.assertFileGid