From 75614f6d4c1a3fe779a75eb3e787452cccd1d814 Mon Sep 17 00:00:00 2001 From: George Marshall Date: Sun, 6 Mar 2016 00:48:06 -0800 Subject: [PATCH] Fixed #26331 -- Fixed test function names with typos --- tests/cache/tests.py | 2 +- tests/signing/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cache/tests.py b/tests/cache/tests.py index af91339434..e3ae3d83ce 100644 --- a/tests/cache/tests.py +++ b/tests/cache/tests.py @@ -1351,7 +1351,7 @@ class DefaultNonExpiringCacheKeyTests(SimpleTestCase): 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. """ diff --git a/tests/signing/tests.py b/tests/signing/tests.py index 910345ed8c..0b7e54189b 100644 --- a/tests/signing/tests.py +++ b/tests/signing/tests.py @@ -57,7 +57,7 @@ class TestSigner(SimpleTestCase): 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'