예제 #1
0
class MPPScenarioTestCase(ScenarioTestCase):
    DUT = MPPDUT()
    tinctest.logger.info(DUT)

    def get_product_version(self):
        """
        This function is used by TINCTestCase to determine the current DUT version.
        It uses this information, along with @product_version, to determine if a test case
        should run in this particular DUT.

        @return: A two-tuple containing name and version of the product where test is executed
        @rtype: (string, string)
        """
        return (self.DUT.product, self.DUT.version_string)
예제 #2
0
class MockMPPMetaClassTypeGPDB43(_MPPMetaClassType):
    _MPPMetaClassType.DUT = MPPDUT('gpdb', '4.3')
예제 #3
0
class MockMPPMetaClassTypeHAWQ(_MPPMetaClassType):
    _MPPMetaClassType.DUT = MPPDUT('hawq', '1.1.0.0')
예제 #4
0
class MockMPPTestLib(MPPTestLib):
    _MPPMetaClassType.DUT = MPPDUT("gpdb", "1.0.0.0")
    pass
예제 #5
0
class MockMPPMetaClassTypeHAWQ(_MPPMetaClassType):
    """ Mock MPPMetaClassTypeHAWQ to reset DUT """
    _MPPMetaClassType.DUT = MPPDUT('hawq', '1.1.0.0')
예제 #6
0
class MockMPPMetaClassTypeGPDB(_MPPMetaClassType):
    """ Mock MPPMetaClassTypeGPDB to reset DUT """
    _MPPMetaClassType.DUT = MPPDUT('gpdb', '1.0.0.0')