* render_FOO methods now only receive the arguments they accept (no more **kwargs)
[django-tables2.git] / tests / __init__.py
1 from attest import AssertImportHook, Tests
2
3 # Django's django.utils.module_loading.module_has_submodule is busted
4 AssertImportHook.disable()
5
6
7 from django.conf import settings
8
9 # It's important to configure prior to importing the tests, as some of them
10 # import Django's DB stuff.
11 settings.configure(
12     DATABASES = {
13         'default': {
14             'ENGINE': 'django.db.backends.sqlite3',
15             'NAME': ':memory:',
16         }
17     },
18     INSTALLED_APPS = [
19         'tests.testapp',
20         'django_tables',
21     ]
22 )
23
24
25 from .core import core
26 from .templates import templates
27 from .models import models
28 from .utils import utils
29
30
31 everything = Tests([core, templates, models, utils])