summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-01-26 13:38:46 -0800
committerTim Graham <timograham@gmail.com>2019-01-26 16:38:46 -0500
commit00b2e4b67cb3e15e0ce0d9160f845d5deb7e33af (patch)
tree90ebf640aeba0c86d75882c3294b649e212f406d
parentac956dae1d06ce2ebff7a2966bcaf8a5ecdbb861 (diff)
Added missing assert in FileBasedCacheTests.test_creates_cache_dir_if_nonexistent().
-rw-r--r--tests/cache/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index 3fbd057289..0dd9208710 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -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')