module unit.canvas.drawing.viewproperties

class unit.canvas.drawing.viewproperties.Base[source]

Bases: timelinelib.test.cases.unit.UnitTestCase

setUp()[source]

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

create_category(name, parent=None)[source]
new_id()[source]
class unit.canvas.drawing.viewproperties.describe_category_visibility[source]

Bases: unit.canvas.drawing.viewproperties.Base

test_visible_by_default()[source]
test_can_set_visibility()[source]
class unit.canvas.drawing.viewproperties.describe_event_visiblity[source]

Bases: unit.canvas.drawing.viewproperties.Base

setUp()[source]

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

assertEventWithCategoryVisible(category)[source]
assertEventWithCategoryHidden(category)[source]
test_visible_by_default()[source]
test_visible_if_no_category()[source]
test_visible_if_no_category_and_individual_view()[source]
test_children_hidden_if_parent_hidden()[source]
test_children_visible_if_parent_hidden_and_individual_view()[source]
class unit.canvas.drawing.viewproperties.describe_event_filtering[source]

Bases: unit.canvas.drawing.viewproperties.Base

setUp()[source]

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

create_event(text, category)[source]
test_none_filtered_by_default()[source]
test_filters_those_in_hidden_categories()[source]
test_filters_those_hidden_in_containers()[source]
test_filters_those_in_hidden_containers()[source]
class unit.canvas.drawing.viewproperties.describe_highlight[source]

Bases: unit.canvas.drawing.viewproperties.Base

test_can_add_highlight_to_events()[source]
test_can_clear_when_adding_highlight_to_event()[source]
test_can_tick_highlights()[source]
test_tick_removes_highlight_when_limit_is_passed()[source]
test_clear_db_specific_removes_highligt()[source]
setUp()[source]

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