You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys.
When launching tests through GitHub Action, there is a problem:
Traceback (most recent call last):
File "/__t/Python/3.11.10/x64/bin/pytest", line 8, in
sys.exit(console_main())
^^^^^^^^^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/_pytest/config/init.py", line 201, in console_main
code = main()
^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/_pytest/config/init.py", line 156, in main
config = _prepareconfig(args, plugins)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/_pytest/config/init.py", line 341, in _prepareconfig
config = pluginmanager.hook.pytest_cmdline_parse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/pluggy/_hooks.py", line 513, in call
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
raise exception.with_traceback(exception.traceback)
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/pluggy/_callers.py", line 122, in _multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/_pytest/helpconfig.py", line 105, in pytest_cmdline_parse
config = yield
^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/pluggy/_callers.py", line 103, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/_pytest/config/init.py", line 1140, in pytest_cmdline_parse
self.parse(args)
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/_pytest/config/init.py", line 1494, in parse
self._preparse(args, addopts=addopts)
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/_pytest/config/init.py", line 1381, in _preparse
self.pluginmanager.load_setuptools_entrypoints("pytest11")
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/pluggy/_manager.py", line 421, in load_setuptools_entrypoints
plugin = ep.load()
^^^^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/__t/Python/3.11.10/x64/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/qaseio/pytest/init.py", line 11, in
from qaseio.pytest.plugin import PluginNotInitializedException, QasePytestPluginSingleton
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/qaseio/pytest/plugin.py", line 9, in
from qaseio.commons import QaseUtils
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/qaseio/commons/init.py", line 1, in
from qaseio.commons.testops import QaseTestOps
File "/__t/Python/3.11.10/x64/lib/python3.11/site-packages/qaseio/commons/testops.py", line 8, in
from qaseio.model.run_create import RunCreate
ModuleNotFoundError: No module named 'qaseio.model'
Error: Process completed with exit code 1.
Tell what this problem arises if everything is raised by automatically?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi guys.
When launching tests through GitHub Action, there is a problem:
Beta Was this translation helpful? Give feedback.
All reactions