diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-01-26 13:38:46 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-26 16:38:46 -0500 |
| commit | 00b2e4b67cb3e15e0ce0d9160f845d5deb7e33af (patch) | |
| tree | 90ebf640aeba0c86d75882c3294b649e212f406d | |
| parent | ac956dae1d06ce2ebff7a2966bcaf8a5ecdbb861 (diff) | |
Added missing assert in FileBasedCacheTests.test_creates_cache_dir_if_nonexistent().
| -rw-r--r-- | tests/cache/tests.py | 2 |
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') |
