def testProcessInheritsSegment(self): inherit_offset = 448 # needs changing if file changes self.test_file.seek(inherit_offset, 0) inherit_result = SELinux_CTS.process_inherits_segment(self.test_file) self.failUnless(inherit_result == 'file') return