Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
ALL
-
TIG 2018-04-09
Description
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
|
Attachments
Issue Links
- duplicates
-
SERVER-29644 Add support for resmoke.py to run Python unit tests
-
- Closed
-