mirror of
https://github.com/django/django.git
synced 2025-03-31 11:37:06 +00:00
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'})
|
||||
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'})
|
||||
self.assertTrue(form.is_valid())
|
||||
|
Loading…
x
Reference in New Issue
Block a user