[1.8.x] Fixed #26331 -- Fixed test function names with typos
Backport of 75614f6d4c1a3fe779a75eb3e787452cccd1d814 from master
This commit is contained in:
parent
6d312f95f3
commit
567658f193
2
tests/cache/tests.py
vendored
2
tests/cache/tests.py
vendored
@ -1326,7 +1326,7 @@ class DefaultNonExpiringCacheKeyTests(TestCase):
|
||||
self.assertIsNotNone(cache._expire_info[cache_key])
|
||||
|
||||
@override_settings(CACHES=NEVER_EXPIRING_CACHES_SETTINGS)
|
||||
def text_caches_set_with_timeout_as_none_set_non_expiring_key(self):
|
||||
def test_caches_set_with_timeout_as_none_set_non_expiring_key(self):
|
||||
"""Memory caches that have the TIMEOUT parameter set to `None` will set
|
||||
a non expiring key by default.
|
||||
"""
|
||||
|
@ -57,7 +57,7 @@ class TestSigner(TestCase):
|
||||
self.assertNotEqual(force_str(example), signed)
|
||||
self.assertEqual(example, signer.unsign(signed))
|
||||
|
||||
def unsign_detects_tampering(self):
|
||||
def test_unsign_detects_tampering(self):
|
||||
"unsign should raise an exception if the value has been tampered with"
|
||||
signer = signing.Signer('predictable-secret')
|
||||
value = 'Another string'
|
||||
|
Loading…
x
Reference in New Issue
Block a user