Пример #1
0
 def __testNonLegacyXenServerSupportedOnLegacyWindows(self, data):
     xs, expected = data
     (cs, win) = self.__setupMocks("XenServer", xs, "w2k3")
     self.assertEqual(expected, LegacyWindowsTampaXenServer.supportedInstaller(cs, win), "XS checked = %s; expected = %s" % (xs, expected))
Пример #2
0
 def __testNonLegacyXenServerSupportedOnLegacyWindows(self, data):
     xs, expected = data
     (cs, win) = self.__setupMocks("XenServer", xs, "w2k3")
     self.assertEqual(
         expected, LegacyWindowsTampaXenServer.supportedInstaller(cs, win),
         "XS checked = %s; expected = %s" % (xs, expected))
Пример #3
0
 def __testLegacyWindowsXenServerDistroSupported(self, data):
     distro, expected = data
     (cs, win) = self.__setupMocks("XenServer", "6.2", distro)
     self.assertEqual(expected, LegacyWindowsTampaXenServer.supportedInstaller(cs, win), "OS checked = %s; expected = %s" % (distro,expected))
Пример #4
0
 def __testLegacyWindowsXenServerDistroSupported(self, data):
     distro, expected = data
     (cs, win) = self.__setupMocks("XenServer", "6.2", distro)
     self.assertEqual(
         expected, LegacyWindowsTampaXenServer.supportedInstaller(cs, win),
         "OS checked = %s; expected = %s" % (distro, expected))