mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
parent
e2b77acedd
commit
be67400b47
93 changed files with 362 additions and 340 deletions
|
@ -3,11 +3,11 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
from django.contrib.flatpages.models import FlatPage
|
||||
from django.test import TestCase
|
||||
from django.test import SimpleTestCase
|
||||
from django.test.utils import override_script_prefix
|
||||
|
||||
|
||||
class FlatpageModelTests(TestCase):
|
||||
class FlatpageModelTests(SimpleTestCase):
|
||||
|
||||
def test_get_absolute_url_urlencodes(self):
|
||||
pf = FlatPage(title="Café!", url='/café/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue