collecting_society_web.tests.unit.models package

Submodules

collecting_society_web.tests.unit.models.test_event module

class collecting_society_web.tests.unit.models.test_event.TestEvent[source]

Bases: object

Event model test class

test_can_write_a_record(tryton, location)[source]

Can write a record?

collecting_society_web.tests.unit.models.test_event.location(create_party, create_location_category, create_location)[source]

Creates a location for event tests.

collecting_society_web.tests.unit.models.test_location module

class collecting_society_web.tests.unit.models.test_location.TestLocation[source]

Bases: object

Location model test class

test_can_write_a_record(party, location_category)[source]

Can write a record?

collecting_society_web.tests.unit.models.test_location.location_category(create_location_category)[source]

Creates a location category for location tests.

collecting_society_web.tests.unit.models.test_location.party(create_party)[source]

Creates a party for location tests.

Module contents