diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_cache.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_cache.py b/test/test_cache.py index dbefad109..a16160142 100644 --- a/test/test_cache.py +++ b/test/test_cache.py @@ -43,16 +43,16 @@ class TestCache(unittest.TestCase): }) c = Cache(ydl) obj = {'x': 1, 'y': ['รค', '\\a', True]} - self.assertEqual(c.load('test_cache', 'k'), None) - c.store('test_cache', 'k', obj) + self.assertEqual(c.load('test_cache', 'k.'), None) + c.store('test_cache', 'k.', obj) self.assertEqual(c.load('test_cache', 'k2'), None) self.assertFalse(_is_empty(self.test_dir)) - self.assertEqual(c.load('test_cache', 'k'), obj) + self.assertEqual(c.load('test_cache', 'k.'), obj) self.assertEqual(c.load('test_cache', 'y'), None) - self.assertEqual(c.load('test_cache2', 'k'), None) + self.assertEqual(c.load('test_cache2', 'k.'), None) c.remove() self.assertFalse(os.path.exists(self.test_dir)) - self.assertEqual(c.load('test_cache', 'k'), None) + self.assertEqual(c.load('test_cache', 'k.'), None) if __name__ == '__main__': |