Silenced a deprecation warning in commands_sql test.
This commit is contained in:
parent
5355baf6c7
commit
88e6fbb2e3
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue