cpl_query.tests package

Submodules

cpl_query.tests.iterable_test module

class cpl_query.tests.iterable_test.IterableTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp() None

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

test_append()

cpl_query.tests.models module

class cpl_query.tests.models.Address(street, nr)

Bases: object

class cpl_query.tests.models.User(name, address)

Bases: object

cpl_query.tests.query_test module

class cpl_query.tests.query_test.QueryTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp() None

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

test_all()
test_any()
test_avg()
test_contains()
test_count()
test_distinct()
test_element_at()
test_element_at_or_default()
test_first()
test_first_or_default()
test_for_each()
test_last()
test_last_or_default()
test_max()
test_min()
test_order_by()
test_order_by_descending()
test_reverse()
test_single()
test_single_or_default()
test_skip()
test_skip_last()
test_sum()
test_take()
test_take_last()
test_then_by()
test_then_by_descending()
test_where()

cpl_query.tests.tester module

class cpl_query.tests.tester.Tester

Bases: object

create()
start()

Module contents