Commit 88e6fbb2 authored by Tim Graham's avatar Tim Graham
Browse files

Silenced a deprecation warning in commands_sql test.

parent 5355baf6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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):