mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Advanced deprecation warnings for Django 1.7.
This commit is contained in:
parent
8b9b8d3bda
commit
acd7b34aaf
41 changed files with 80 additions and 81 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from django.db.models import get_app
|
||||
from django.test.utils import IgnorePendingDeprecationWarningsMixin
|
||||
from django.test.utils import IgnoreDeprecationWarningsMixin
|
||||
from django.utils import unittest
|
||||
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ def suite():
|
|||
return testSuite
|
||||
|
||||
|
||||
class SuiteOverrideTest(IgnorePendingDeprecationWarningsMixin, unittest.TestCase):
|
||||
class SuiteOverrideTest(IgnoreDeprecationWarningsMixin, unittest.TestCase):
|
||||
def test_suite_override(self):
|
||||
"""
|
||||
Validate that you can define a custom suite when running tests with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue