cdecker / lightning-integration

Lightning Integration Testing Framework
Other
74 stars 31 forks source link

TypeError: 'type' object is not iterable #53

Open trueptolemy opened 5 years ago

trueptolemy commented 5 years ago

Hi, cdecker! The past days, I tried to initial lightning-integration and wanted to reproduce the "sync error" but failed. I just now attached IRC for my first time and saw you also planed to reproduce that issue about "sync error", so I come here and report my error case that I met.

Details:

Output:

============================= test session starts ============================== platform linux -- Python 3.5.2, pytest-4.1.1, py-1.8.0, pluggy-0.11.0 -- /usr/bin/python3 cachedir: .pytest_cache benchmark: 3.2.2 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) rootdir: /root/lightning-integration, inifile: pytest.ini plugins: xdist-1.26.0, timeout-1.3.3, rerunfailures-5.0, json-0.4.0, forked-1.0.1, benchmark-3.2.2, flaky-3.5.3 collecting ... collected 0 items / 1 errors

==================================== ERRORS ==================================== ERROR collecting test.py /usr/local/lib/python3.5/dist-packages/_pytest/python.py:1056: in idval s = idfn(val) test.py:79: in idfn return "".join([i.displayName for i in impls]) E TypeError: 'type' object is not iterable

The above exception was the direct cause of the following exception: /usr/local/lib/python3.5/dist-packages/pluggy/hooks.py:289: in call return self._hookexec(self, self.get_hookimpls(), kwargs) /usr/local/lib/python3.5/dist-packages/pluggy/manager.py:68: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /usr/local/lib/python3.5/dist-packages/pluggy/manager.py:62: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /usr/local/lib/python3.5/dist-packages/_pytest/python.py:225: in pytest_pycollect_makeitem res = list(collector._genfunctions(name, obj)) /usr/local/lib/python3.5/dist-packages/_pytest/python.py:405: in _genfunctions self.ihook.pytest_generate_tests(metafunc=metafunc) /usr/local/lib/python3.5/dist-packages/pluggy/hooks.py:289: in call return self._hookexec(self, self.get_hookimpls(), kwargs) /usr/local/lib/python3.5/dist-packages/pluggy/manager.py:68: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /usr/local/lib/python3.5/dist-packages/pluggy/manager.py:62: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /usr/local/lib/python3.5/dist-packages/_pytest/python.py:132: in pytest_generate_tests metafunc.parametrize(*marker.args, **marker.kwargs) /usr/local/lib/python3.5/dist-packages/_pytest/python.py:903: in parametrize ids = self._resolve_arg_ids(argnames, ids, parameters, item=self.definition) /usr/local/lib/python3.5/dist-packages/_pytest/python.py:957: in _resolve_arg_ids ids = idmaker(argnames, parameters, idfn, ids, self.config, item=item) /usr/local/lib/python3.5/dist-packages/_pytest/python.py:1103: in idmaker for valindex, parameterset in enumerate(parametersets) /usr/local/lib/python3.5/dist-packages/_pytest/python.py:1103: in for valindex, parameterset in enumerate(parametersets) /usr/local/lib/python3.5/dist-packages/_pytest/python.py:1093: in _idvalset for val, argname in zip(parameterset.values, argnames) /usr/local/lib/python3.5/dist-packages/_pytest/python.py:1093: in for val, argname in zip(parameterset.values, argnames) /usr/local/lib/python3.5/dist-packages/_pytest/python.py:1063: in _idval six.raise_from(ValueError(msg), e)

:3: in raise_from ??? E ValueError: test.py::test_invoice_decode: error raised while trying to determine id of parameter 'impl' at position 0 E TypeError: 'type' object is not iterable ===Flaky Test Report=== ===End Flaky Test Report=== !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 1 error in 0.53 seconds ============================