-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
ALL
-
TIG 2018-04-09
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The unit test buildscripts/tests/ciconfig/test_evergreen.py requires setting PYTHONPATH if it's invoked as
python buildscripts/tests/ciconfig/test_evergreen.py Traceback (most recent call last): File "buildscripts/tests/ciconfig/test_evergreen.py", line 9, in <module> import buildscripts.ciconfig.evergreen as _evergreen ImportError: No module named buildscripts.ciconfig.evergreen
This works:
PYTHONPATH=. python buildscripts/tests/ciconfig/test_evergreen.py ................ ---------------------------------------------------------------------- Ran 16 tests in 0.048s OK
- duplicates
-
SERVER-29644 Add support for resmoke.py to run Python unit tests
-
- Closed
-