self = <tests.sfputil_test.TestSfputil object at 0x7fc690ea44c0> @patch('sfputil.main.is_port_type_rj45', MagicMock(return_value=False)) def test_error_status_from_db(self): > db = Db() tests/sfputil_test.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ utilities_common/db.py:12: in __init__ self.cfgdb.connect() swsssdk/configdb.py:84: in connect self.db_connect('CONFIG_DB', wait_for_init, retry_on) swsssdk/configdb.py:79: in db_connect SonicV2Connector.connect(self, self.db_name, retry_on) tests/mock_tables/dbconnector.py:58: in connect_SonicV2Connector _old_connect_SonicV2Connector(self, db_name, retry_on) swsssdk/dbconnector.py:268: in connect self.dbintf.connect(db_id, db_name, retry_on) swsssdk/interface.py:176: in connect self._onetime_connect(db_id, db_name) swsssdk/interface.py:190: in _onetime_connect client = redis.StrictRedis(db=db_id, **self.redis_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.mock_tables.dbconnector.SwssSyncClient object at 0x7fc690e52700> args = () kwargs = {'db': 4, 'db_name': 'CONFIG_DB', 'decode_responses': True, 'host': '127.0.0.1', ...} def __init__(self, *args, **kwargs): > super(SwssSyncClient, self).__init__(strict=True, *args, **kwargs) E TypeError: __init__() got an unexpected keyword argument 'strict' tests/mock_tables/dbconnector.py:94: TypeErrorself = <tests.sfputil_test.TestSfputil object at 0x7fc690ea45e0> @patch('sfputil.main.is_port_type_rj45', MagicMock(return_value=True)) def test_error_status_from_db_RJ45(self): > db = Db() tests/sfputil_test.py:290: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ utilities_common/db.py:12: in __init__ self.cfgdb.connect() swsssdk/configdb.py:84: in connect self.db_connect('CONFIG_DB', wait_for_init, retry_on) swsssdk/configdb.py:79: in db_connect SonicV2Connector.connect(self, self.db_name, retry_on) tests/mock_tables/dbconnector.py:58: in connect_SonicV2Connector _old_connect_SonicV2Connector(self, db_name, retry_on) swsssdk/dbconnector.py:268: in connect self.dbintf.connect(db_id, db_name, retry_on) swsssdk/interface.py:176: in connect self._onetime_connect(db_id, db_name) swsssdk/interface.py:190: in _onetime_connect client = redis.StrictRedis(db=db_id, **self.redis_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.mock_tables.dbconnector.SwssSyncClient object at 0x7fc690d5b8b0> args = () kwargs = {'db': 4, 'db_name': 'CONFIG_DB', 'decode_responses': True, 'host': '127.0.0.1', ...} def __init__(self, *args, **kwargs): > super(SwssSyncClient, self).__init__(strict=True, *args, **kwargs) E TypeError: __init__() got an unexpected keyword argument 'strict' tests/mock_tables/dbconnector.py:94: TypeError