Beispiel #1
0
 def test_get_os_version_names(self):
   name = os_utilities.get_os_version_name()
   if sys.platform == 'win32':
     self.assertTrue(isinstance(name, str), name)
   else:
     self.assertEqual(None, name)
Beispiel #2
0
 def test_get_os_version_names(self):
     name = os_utilities.get_os_version_name()
     if sys.platform == 'win32':
         self.assertTrue(isinstance(name, str), name)
     else:
         self.assertEqual(None, name)