mirror of https://github.com/django/django.git
Forgotten slash removal in d320863878
This commit is contained in:
parent
d320863878
commit
bf2b0affe4
|
@ -2049,7 +2049,7 @@ class ModelOtherFieldTests(TestCase):
|
||||||
|
|
||||||
form = HomepageForm({'url': 'example.com'})
|
form = HomepageForm({'url': 'example.com'})
|
||||||
self.assertTrue(form.is_valid())
|
self.assertTrue(form.is_valid())
|
||||||
self.assertEqual(form.cleaned_data['url'], 'http://example.com/')
|
self.assertEqual(form.cleaned_data['url'], 'http://example.com')
|
||||||
|
|
||||||
form = HomepageForm({'url': 'example.com/test'})
|
form = HomepageForm({'url': 'example.com/test'})
|
||||||
self.assertTrue(form.is_valid())
|
self.assertTrue(form.is_valid())
|
||||||
|
|
Loading…
Reference in New Issue