Public Member Functions | |
def | __init__ |
def | assertAlmostEqual |
def | assertEqual |
def | assertFalse |
def | assertNotEqual |
def | assertTrue |
Holds common 'assert' statements. This should NOT be used directly by API users.
Reimplemented in assetQC.api.collector.Collector.
def assetQC.api.baseTestObject.BaseTestObject.assertAlmostEqual | ( | self, | |
first, | |||
second, | |||
precision = 5 , |
|||
msg = None |
|||
) |
Asserts the value at the given 'first' equals 'value'. :param first: First input :param second: Second input :param precision: Number of significant numbers to check to. :param msg: The message string raised with the exception. :return:
def assetQC.api.baseTestObject.BaseTestObject.assertEqual | ( | self, | |
first, | |||
second, | |||
msg = None |
|||
) |
Asserts that 'first' argument is equal to 'second' argument. :param first: First input :param second: Second input :param msg: The message string raised with the exception. :return:
def assetQC.api.baseTestObject.BaseTestObject.assertFalse | ( | self, | |
condition, | |||
msg = None |
|||
) |
Asserts that the 'condition' given equals False. :param condition: Condition (or expression) to check. :param msg: The message string raised with the exception. :return:
def assetQC.api.baseTestObject.BaseTestObject.assertNotEqual | ( | self, | |
first, | |||
second, | |||
msg = None |
|||
) |
Asserts that 'first' argument are not equal to 'second'. :param first: First input :param second: Second input :param msg: The message string raised with the exception. :return:
def assetQC.api.baseTestObject.BaseTestObject.assertTrue | ( | self, | |
condition, | |||
msg = None |
|||
) |
Asserts that the 'condition' given equals True. :param condition: Condition (or expression) to check. :param msg: The message string raised with the exception. :return: