Ejemplo n.º 1
0
 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())
Ejemplo n.º 2
0
 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())