module unit.canvas.timelinecanvascontroller

class unit.canvas.timelinecanvascontroller.TimelineCanvasControllerTestCase[source]

Bases: timelinelib.test.cases.wxapp.WxAppTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

setUpView()[source]
setUpDb()[source]
class unit.canvas.timelinecanvascontroller.describe_navigate[source]

Bases: unit.canvas.timelinecanvascontroller.TimelineCanvasControllerTestCase

test_setting_period_works()[source]
test_setting_too_narrow_period_gives_error()[source]
test_setting_too_left_period_gives_error()[source]
test_setting_too_right_period_gives_error()[source]
assertNavigationFails(navigate_fn, pattern)[source]
setUp()[source]

Hook method for setting up the test fixture before exercising it.

class unit.canvas.timelinecanvascontroller.ATimeType[source]

Bases: timelinelib.calendar.timetype.TimeType

get_min_time()[source]
get_max_time()[source]
format_period(period)[source]
get_min_zoom_delta()[source]
now()[source]
__eq__(other)[source]

Return self==value.

__ne__(other)[source]

Return self!=value.

unit.canvas.timelinecanvascontroller.time_period(start, end)[source]