From 1f7d23fc18ef2b7b6909d325db6b49aee683a58e Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 15 Apr 2015 15:57:13 -0700 Subject: [PATCH] Fix call to skipUnless by adding a reason --- v2/test/plugins/test_cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/test/plugins/test_cache.py b/v2/test/plugins/test_cache.py index bf94053aa3..f3cfe6a38c 100644 --- a/v2/test/plugins/test_cache.py +++ b/v2/test/plugins/test_cache.py @@ -88,13 +88,13 @@ class TestAbstractClass(unittest.TestCase): self.assertIsInstance(CacheModule3(), CacheModule3) - @unittest.skipUnless(HAVE_MEMCACHED) + @unittest.skipUnless(HAVE_MEMCACHED, 'python-memcached module not installed') def test_memcached_cachemodule(self): self.assertIsInstance(MemcachedCache(), MemcachedCache) def test_memory_cachemodule(self): self.assertIsInstance(MemoryCache(), MemoryCache) - @unittest.skipUnless(HAVE_REDIS) + @unittest.skipUnless(HAVE_REDIS, 'Redis pyhton module not installed') def test_redis_cachemodule(self): self.assertIsInstance(RedisCache(), RedisCache)