/usr/local/bin/python3 /opt/.pycharm_helpers/pycharm/_jb_pytest_runner.py --target test_atomic_update_work_draft.py::test_update_work_work_start_time_1_u_u_
Testing started at 20:59 ...
Container db Running
Container nats Running
Container app Recreate
Container app Recreated
Attaching to app
app | Launching pytest with arguments test_atomic_update_work_draft.py::test_update_work_work_start_time_1_u_u_ --no-header --no-summary -q in /opt/project/tests
app |
app | app | ============================= test session starts ==============================
app | collecting ... app | app |
test_atomic_update_work_draft.py:None (test_atomic_update_work_draft.py)
/usr/local/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/usr/local/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/usr/local/lib/python3.10/site-packages/_pytest/python.py:531: in collect
self._inject_setup_module_fixture()
/usr/local/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
/usr/local/lib/python3.10/site-packages/_pytest/python.py:310: in obj
self._obj = obj = self._getobj()
/usr/local/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
return self._importtestmodule()
/usr/local/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/usr/local/lib/python3.10/site-packages/_pytest/pathlib.py:567: in import_path
importlib.import_module(module_name)
/usr/local/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
__init__.py:1: in <module>
from source.logger import load_logger
../source/logger.py:13: in <module>
load_logger()
../source/logger.py:10: in load_logger
fileConfig('logging.conf')
/usr/local/lib/python3.10/logging/config.py:72: in fileConfig
formatters = _create_formatters(cp)
/usr/local/lib/python3.10/logging/config.py:105: in _create_formatters
flist = cp["formatters"]["keys"]
/usr/local/lib/python3.10/configparser.py:965: in __getitem__
raise KeyError(key)
E KeyError: 'formatters'
app | app | collected 0 items / 1 error
app | app | ERROR: not found: /opt/project/tests/test_atomic_update_work_draft.py::test_update_work_work_start_time_1_u_u_
app | (no name '/opt/project/tests/test_atomic_update_work_draft.py::test_update_work_work_start_time_1_u_u_' in any of [<Module test_atomic_update_work_draft.py>])
app |
app |
app | =============================== 1 error in 0.15s ===============================
app | Aborting on container exit...
Container app Stopping
app exited with code 4
Container app Stopped
Process finished with exit code 4