<spanid="cpl-query-tests-iterable-test-module"></span><h2>cpl_query.tests.iterable_test module<aclass="headerlink"href="#module-cpl_query.tests.iterable_test"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_query.tests.iterable_test.</span></code><codeclass="sig-name descname"><spanclass="pre">IterableTest</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">methodName</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'runTest'</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.iterable_test.IterableTest"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">setUp</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#cpl_query.tests.iterable_test.IterableTest.setUp"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_append</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.iterable_test.IterableTest.test_append"title="Permalink to this definition">¶</a></dt>
<spanid="cpl-query-tests-models-module"></span><h2>cpl_query.tests.models module<aclass="headerlink"href="#module-cpl_query.tests.models"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_query.tests.models.</span></code><codeclass="sig-name descname"><spanclass="pre">Address</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">street</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">nr</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.models.Address"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_query.tests.models.</span></code><codeclass="sig-name descname"><spanclass="pre">User</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">address</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.models.User"title="Permalink to this definition">¶</a></dt>
<spanid="cpl-query-tests-query-test-module"></span><h2>cpl_query.tests.query_test module<aclass="headerlink"href="#module-cpl_query.tests.query_test"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_query.tests.query_test.</span></code><codeclass="sig-name descname"><spanclass="pre">QueryTest</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">methodName</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'runTest'</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">setUp</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.setUp"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_all</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_all"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_any</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_any"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_avg</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_avg"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_contains</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_contains"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_count</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_count"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_distinct</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_distinct"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_element_at</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_element_at"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_element_at_or_default</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_element_at_or_default"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_first</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_first"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_first_or_default</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_first_or_default"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_for_each</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_for_each"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_last</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_last"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_last_or_default</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_last_or_default"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_max</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_max"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_min</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_min"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_order_by</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_order_by"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_order_by_descending</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_order_by_descending"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_reverse</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_reverse"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_single</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_single"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_single_or_default</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_single_or_default"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_skip</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_skip"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_skip_last</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_skip_last"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_sum</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_sum"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_take</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_take"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_take_last</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_take_last"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_then_by</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_then_by"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_then_by_descending</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_then_by_descending"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">test_where</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.query_test.QueryTest.test_where"title="Permalink to this definition">¶</a></dt>
<spanid="cpl-query-tests-tester-module"></span><h2>cpl_query.tests.tester module<aclass="headerlink"href="#module-cpl_query.tests.tester"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_query.tests.tester.</span></code><codeclass="sig-name descname"><spanclass="pre">Tester</span></code><aclass="headerlink"href="#cpl_query.tests.tester.Tester"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">create</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.tester.Tester.create"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">start</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_query.tests.tester.Tester.start"title="Permalink to this definition">¶</a></dt>