def test_sles(self): ''' Test parsing SLES data. ''' with open(os.path.join(TEST_DATA, 'sles')) as fileobj: maintained = MaintainedData('sles', fileobj) self.assertTrue(maintained.is_maintained())
def test_opensuse(self): ''' Test parsing openSUSE data. ''' with open(os.path.join(TEST_DATA, 'opensuse')) as fileobj: maintained = MaintainedData('opensuse', fileobj) self.assertFalse(maintained.is_maintained())