From 5df921b0e3cbc3200cf476d967326be838e1ee05 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 4 Sep 2014 04:51:52 +0200 Subject: [PATCH] [test_cache] Add a dot in the file name --- test/test_cache.py | 10 +++++----- 1 file 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 @@ def test_cache(self): }) 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__':