Silenced a deprecation warning in commands_sql test.

This commit is contained in:
Tim Graham 2015-02-20 13:24:29 -05:00
parent 5355baf6c7
commit 88e6fbb2e3
1 changed files with 1 additions and 0 deletions

View File

@ -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):