Example #1
0
 def test_parse_release_os_fedora(self):
     '''Make sure the different os-release files are parsed right for fedora'''
     self.assertDictEqual(
         ss.parse_release(self.os_rel_fedora),
         self.os_rel_fedora_dict)
Example #2
0
 def test_parse_release_lsb(self):
     '''Make sure the different lsb-release files are parsed right'''
     self.assertDictEqual(
         ss.parse_release(self.lsb_release), self.lsb_release_dict)
Example #3
0
 def test_parse_release_rh(self):
     '''Make sure the different redhat-release files are parsed right'''
     self.assertDictEqual(
         ss.parse_release(self.redhat_release), self.rh_release_dict)