src.tests.test_units module

class src.tests.test_units.TestUnitConversionFactor(methodName='runTest')[source]

Bases: TestCase

__init__(methodName='runTest')

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

failureException

alias of AssertionError

longMessage = True
maxDiff = 640
class src.tests.test_units.TestRefTime(methodName='runTest')[source]

Bases: TestCase

get_test_date_strings(unit=None, time=None)[source]
get_test_reftimes(unit=None, time=None, calendar=None)[source]
multi_compare(list_1, list_2, compare_method, value)[source]
multi_compare_id(list_1, compare_method)[source]
__init__(methodName='runTest')

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

failureException

alias of AssertionError

longMessage = True
maxDiff = 640