diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-20 13:24:29 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-20 13:24:29 -0500 |
| commit | 88e6fbb2e341657cb5365b9b78fb44e3c7065d2d (patch) | |
| tree | 238631423611c3414429cb35afee5b23ca722d53 /tests/commands_sql | |
| parent | 5355baf6c770ac1e5c7f7a4f86ef95042f76b8b4 (diff) | |
Silenced a deprecation warning in commands_sql test.
Diffstat (limited to 'tests/commands_sql')
| -rw-r--r-- | tests/commands_sql/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/commands_sql/tests.py b/tests/commands_sql/tests.py index 964f8a2dfe..28c584f03c 100644 --- a/tests/commands_sql/tests.py +++ b/tests/commands_sql/tests.py @@ -99,6 +99,7 @@ class TestRouter(object): @override_settings(DATABASE_ROUTERS=[TestRouter()]) class SQLCommandsRouterTestCase(TestCase): + @ignore_warnings(category=RemovedInDjango20Warning) def test_router_honored(self): app_config = apps.get_app_config('commands_sql') for sql_command in (sql_all, sql_create, sql_delete, sql_indexes, sql_destroy_indexes): |
