seed.managers.tests package

Submodules

seed.managers.tests.test_json_manager module

:copyright (c) 2014 - 2015, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA :author

class seed.managers.tests.test_json_manager.TestJsonManager(methodName='runTest')

Bases: django.test.testcases.TestCase

setUp()
test_case_insensitive()

Make sure that we do case insensitive comparisons.

test_condition()

We apply conditions properly.

test_condition_unspecified_w_value()

We assume you want equality if you provide value and no cond.

test_contains()

If nothing else, check containment for partial key value.

test_exception_and_conditional()

Exclude and also filter.

test_exclusion()

Exclude data that aren’t relevant.

test_no_key()

We safely return an empty QS if nothing is queried.

test_order_by()

Test that we’re able to order by values of a json field.

test_wildcards()

Passing wildcards into our query allows greedy matching.

Module contents

:copyright (c) 2014 - 2015, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA :author