hello, i am looking for a way to set PYTHONPATH to the workspace / current directory of a build that executes unit test with pytest and avoid the following error messages:
[Tests] ______________ ERROR collecting tests/unit/drive/test_config.py _______________ [Tests] tests/unit/drive/test_config.py:3: in <module> [Tests] from drive import config [Tests] E ImportError: No module named 'drive' [Tests] ______________ ERROR collecting tests/unit/drive/test_helpers.py ______________ [Tests] tests/unit/drive/test_helpers.py:3: in <module> [Tests] from drive import helpers [Tests] E ImportError: No module named 'drive' [Tests] ______________ ERROR collecting tests/unit/drive/test_service.py ______________ [Tests] tests/unit/drive/test_service.py:5: in <module> [Tests] from drive import service [Tests] E ImportError: No module named 'drive' [Tests] ___________ ERROR collecting tests/unit/drive/test_transformers.py ____________ [Tests] tests/unit/drive/test_transformers.py:5: in <module> [Tests] from drive import transformers [Tests] E ImportError: No module named 'drive' [Tests] =========================== 4 error in 0.25 seconds ============================ the build is excuted in docker container based on the official python 3.5 image I have to admit i have been playing with python for about just two weeks so i might be missing something. Best regards Omeka -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c3a15a5c-011c-4986-b1d3-cfc669a87804%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
