(self)
| 3119 | caches["nonexistent"] |
| 3120 | |
| 3121 | def test_nonexistent_backend(self): |
| 3122 | test_caches = CacheHandler( |
| 3123 | { |
| 3124 | "invalid_backend": { |
| 3125 | "BACKEND": "django.nonexistent.NonexistentBackend", |
| 3126 | }, |
| 3127 | } |
| 3128 | ) |
| 3129 | msg = ( |
| 3130 | "Could not find backend 'django.nonexistent.NonexistentBackend': " |
| 3131 | "No module named 'django.nonexistent'" |
| 3132 | ) |
| 3133 | with self.assertRaisesMessage(InvalidCacheBackendError, msg): |
| 3134 | test_caches["invalid_backend"] |
| 3135 | |
| 3136 | def test_all(self): |
| 3137 | test_caches = CacheHandler( |
nothing calls this directly
no test coverage detected