diff --git a/test/units/plugins/cache/test_cache.py b/test/units/plugins/cache/test_cache.py index 52d7d1a71c1..0fd14682e86 100644 --- a/test/units/plugins/cache/test_cache.py +++ b/test/units/plugins/cache/test_cache.py @@ -78,14 +78,14 @@ class TestAbstractClass(unittest.TestCase): class CacheModule1(BaseCacheModule): pass with self.assertRaises(TypeError): - CacheModule1() + CacheModule1() # pylint: disable=abstract-class-instantiated class CacheModule2(BaseCacheModule): def get(self, key): super(CacheModule2, self).get(key) with self.assertRaises(TypeError): - CacheModule2() + CacheModule2() # pylint: disable=abstract-class-instantiated def test_subclass_success(self): class CacheModule3(BaseCacheModule): diff --git a/test/units/plugins/connection/test_connection.py b/test/units/plugins/connection/test_connection.py index 39fffef52ec..99e114e6ac6 100644 --- a/test/units/plugins/connection/test_connection.py +++ b/test/units/plugins/connection/test_connection.py @@ -56,14 +56,14 @@ class TestConnectionBaseClass(unittest.TestCase): class ConnectionModule1(ConnectionBase): pass with self.assertRaises(TypeError): - ConnectionModule1() + ConnectionModule1() # pylint: disable=abstract-class-instantiated class ConnectionModule2(ConnectionBase): def get(self, key): super(ConnectionModule2, self).get(key) with self.assertRaises(TypeError): - ConnectionModule2() + ConnectionModule2() # pylint: disable=abstract-class-instantiated def test_subclass_success(self): class ConnectionModule3(ConnectionBase):