# Pastebin 5CXvByYx octaviaclient.tests.unit.osc.v2.test_member.TestMemberUnset.test_member_unset_name_wait --------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/home/johnsom/python-octaviaclient/octaviaclient/tests/unit/osc/v2/test_member.py", line 311, in test_member_unset_name_wait self._test_member_unset_param_wait('name') File "/usr/lib/python3.8/unittest/mock.py", line 1348, in patched return func(*newargs, **newkeywargs) File "/home/johnsom/python-octaviaclient/octaviaclient/tests/unit/osc/v2/test_member.py", line 335, in _test_member_unset_param_wait self.api_mock.member_set.reset_mock() File "/usr/lib/python3.8/unittest/mock.py", line 655, in __getattr__ result = self._get_child_mock( File "/usr/lib/python3.8/unittest/mock.py", line 1025, in _get_child_mock return klass(**kw) File "/usr/lib/python3.8/unittest/mock.py", line 1063, in __init__ _safe_super(CallableMixin, self).__init__( File "/usr/lib/python3.8/unittest/mock.py", line 444, in __init__ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) File "/usr/lib/python3.8/unittest/mock.py", line 499, in _mock_add_spec if asyncio.iscoroutinefunction(getattr(spec, attr, None)): File "/usr/lib/python3.8/asyncio/coroutines.py", line 166, in iscoroutinefunction return (inspect.iscoroutinefunction(func) or File "/usr/lib/python3.8/inspect.py", line 194, in iscoroutinefunction return _has_code_flag(obj, CO_COROUTINE) File "/usr/lib/python3.8/inspect.py", line 177, in _has_code_flag f = functools._unwrap_partial(f) File "/usr/lib/python3.8/functools.py", line 429, in _unwrap_partial while isinstance(func, partial): TypeError: isinstance() arg 2 must be a type or tuple of types