testing.unit.test_dup_time module

class testing.unit.test_dup_time.TimeTest[source]
testCmp()[source]

Test time comparisons

testCmp_separator()[source]

Like testCmp but with new separator

testConversion()[source]

test timetostring and stringtotime

testConversion_separator()[source]

Same as testConversion, but change time Separator

testConvertion()[source]
testGenericString()[source]

Test genstrtotime, conversion of arbitrary string to time

testGenericStringErrors()[source]

Test genstrtotime on some bad strings

testIntervals()[source]

Test converting strings to intervals

testIntervalsComposite()[source]

Like above, but allow composite intervals

testPrettyIntervals()[source]

Test printable interval conversion

testStringtotime()[source]

Test converting string to time

class testing.unit.test_dup_time.TimeTest1(methodName='runTest')[source]

Bases: testing.unit.test_dup_time.TimeTest, testing.unit.UnitTestCase

setUp()[source]
class testing.unit.test_dup_time.TimeTest2(methodName='runTest')[source]

Bases: testing.unit.test_dup_time.TimeTest, testing.unit.UnitTestCase

setUp()[source]