[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-finance-apps
Subject: ModuleNotFoundError: No module named 'tests.test_helpers' on running tests/run.py
From: Ralf Habacker via Kde-finance-apps <kde-finance-apps () kde ! org>
Date: 2021-07-14 6:04:17
Message-ID: 664665fd-51c3-494c-4957-acf88d8bb6ad () freenet ! de
[Download RAW message or body]
Hi Ebuka,
I checkout latest code from you gdb_printer repo, did run and got an
error as shown below:
$:~/src/gdb_printers> tests/run.py
[RUN][INFO]: Building CMakeLists file
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/xxx/src/gdb_printers/tests/cpp_src_test/cmake_build
[ 25%] Automatic MOC and UIC for target test_bin
[ 25%] Built target test_bin_autogen
[100%] Built target test_bin
[RUN][INFO]: Adding Printers Directory to the PYTHONPATH environment
variable
[RUN][INFO]: Starting GDB ...
Traceback (most recent call last):
File "/home/xxx/src/gdb_printers/tests/test_qtprinters.py", line 9, in
<module>
from tests.test_helpers import start_at_function,
stop_after_init_function, stop_after_end_function
ModuleNotFoundError: No module named 'tests.test_helpers'
Can you take a look and fix that issue ?
> [RUN][INFO]: Starting GDB ...
I suggest to add the output of the dbg_args variable to that line - it
makes debugging easier.
[RUN][INFO]: Starting GDB ... ['gdb', '--nx', '-q', '--batch', '-x',
'/home/xxx/src/gdb_printers/tests/test_qtprinters.py',
'/home/xxx/src/gdb_printers/tests/cpp_src_test/cmake_build/test_bin']
Regards
Ralf
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic