mirror of
https://github.com/django/django.git
synced 2025-03-26 17:20:49 +00:00
Added missing assert in FileBasedCacheTests.test_creates_cache_dir_if_nonexistent().
This commit is contained in:
parent
ac956dae1d
commit
00b2e4b67c
2
tests/cache/tests.py
vendored
2
tests/cache/tests.py
vendored
@ -1439,7 +1439,7 @@ class FileBasedCacheTests(BaseCacheTests, TestCase):
|
||||
def test_creates_cache_dir_if_nonexistent(self):
|
||||
os.rmdir(self.dirname)
|
||||
cache.set('foo', 'bar')
|
||||
os.path.exists(self.dirname)
|
||||
self.assertTrue(os.path.exists(self.dirname))
|
||||
|
||||
def test_get_ignores_enoent(self):
|
||||
cache.set('foo', 'bar')
|
||||
|
Loading…
x
Reference in New Issue
Block a user