diff --git a/tests/regressiontests/forms/media.py b/tests/regressiontests/forms/media.py
index 4c87f61..265be07 100644
a
|
b
|
|
4 | 4 | media_tests = r""" |
5 | 5 | >>> from django.newforms import TextInput, Media, TextInput, CharField, Form, MultiWidget |
6 | 6 | >>> from django.conf import settings |
| 7 | >>> MEDIA_URL_BACKUP = settings.MEDIA_URL |
7 | 8 | >>> settings.MEDIA_URL = 'http://media.example.com/media/' |
8 | 9 | |
9 | 10 | # Check construction of media objects |
… |
… |
media_tests = r"""
|
354 | 355 | <script type="text/javascript" src="/path/to/js4"></script> |
355 | 356 | <script type="text/javascript" src="/some/form/javascript"></script> |
356 | 357 | |
357 | | """ |
358 | | No newline at end of file |
| 358 | >>> settings.MEDIA_URL = MEDIA_URL_BACKUP |
| 359 | """ |