ormex.tests package¶
Submodules¶
ormex.tests.base module¶
Base tests module.
- log_info: Method decorator, logs info about the method (name, return value).
- LOG_INFO: Flag.
- app_setup: Setup the app.
- skip: Method decorator. If used, tests is skipped.
- is_app_setup_completed: Check if app setup has been completed.
- mark_app_setup_as_completed: Mark the app setup as completed.
ormex.tests.helpers module¶
Base tests module.
- setup_app: Setup the app, collect the static, mark app setup as completed.
ormex.tests.test_aggregations module¶
Test the aggregations package.
-
class
ormex.tests.test_aggregations.
OrmexAggregationsTest
(methodName='runTest')[source]¶ Bases:
django.test.testcases.TestCase
Testing django-ormex aggregations functionality.
-
pytestmark
= [Mark(name='django_db', args=(), kwargs={}), Mark(name='django_db', args=(), kwargs={})]¶
-
test_01_group_concat
(*args, **kwargs)¶ Inner.
-
test_02_group_concat_with_separator
(*args, **kwargs)¶ Inner.
-
test_03_group_concat_with_alternative_separator
(*args, **kwargs)¶ Inner.
-
test_04_group_concat_with_order_by
(*args, **kwargs)¶ Inner.
-