Merge branch 'development'
[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         #'django.contrib.contenttypes',
20         #'django.contrib.auth',
21         'tests.testapp',
22         'django_tables',
23     ]
24 )
25
26
27 from .core import core
28 from .templates import templates
29 from .models import models
30 from .utils import utils
31
32
33 everything = Tests([core, templates, models, utils])