Added missing assert in FileBasedCacheTests.test_creates_cache_dir_if_nonexistent().

This commit is contained in:
Jon Dufresne 2019-01-26 13:38:46 -08:00 committed by Tim Graham
parent ac956dae1d
commit 00b2e4b67c
1 changed files with 1 additions and 1 deletions

View File

@ -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')