diff options
| author | Jason Pellerin <jpellerin@gmail.com> | 2006-07-19 02:41:56 +0000 |
|---|---|---|
| committer | Jason Pellerin <jpellerin@gmail.com> | 2006-07-19 02:41:56 +0000 |
| commit | a5caa0ab27bc5a72b4080888c3f295ee7c9b719a (patch) | |
| tree | 0f834e475b87808620b21a3cbe6c49ed17724d83 | |
| parent | ed4e198d110c37f587db755e64f18390060980c1 (diff) | |
[multi-db] Added MODELS settings to TEST_DATABASES.
git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rwxr-xr-x | tests/runtests.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/runtests.py b/tests/runtests.py index 8dc48415ee..2c3c8080e1 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -13,6 +13,13 @@ REGRESSION_TESTS_DIR_NAME = 'regressiontests' TEST_DATABASE_NAME = 'django_test_db' TEST_DATABASES = (TEST_DATABASE_NAME + '_a', TEST_DATABASE_NAME + '_b') +TEST_DATABASE_MODELS = { + TEST_DATABASE_NAME + '_a': [ 'multiple_databases.Artist', + 'multiple_databases.Opus' ], + TEST_DATABASE_NAME + '_b': [ 'multiple_databases.Widget', + 'multiple_databases.Doohickey' ] +} + error_list = [] def log_error(model_name, title, description): error_list.append({ |
