diff options
| author | Tobias McNulty <tobias@caktusgroup.com> | 2016-06-03 15:02:38 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-06-20 11:07:46 -0400 |
| commit | 17e661641ddaf8266e7430d83cfb2039abc55df7 (patch) | |
| tree | faab4310a86fed5682ff343efcffc9a9816a2eb3 /tests/cache | |
| parent | 00551c3eff5cedcb9cc7ce5af97b948d62713d97 (diff) | |
Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
Diffstat (limited to 'tests/cache')
| -rw-r--r-- | tests/cache/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py index 9224434dfe..9099402f43 100644 --- a/tests/cache/tests.py +++ b/tests/cache/tests.py @@ -1393,6 +1393,7 @@ class DefaultNonExpiringCacheKeyTests(SimpleTestCase): }, }, USE_I18N=False, + ALLOWED_HOSTS=['.example.com'], ) class CacheUtils(SimpleTestCase): """TestCase for django.utils.cache functions.""" |
