| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 345a6ba commit cac8024
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + Fix overwriting of cwd in the path list when discovering tests. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,9 +4,11 @@ | |||
| 4 | 4 | # Replace the "." entry. | |
| 5 | 5 | import os.path | |
| 6 | 6 | import sys | |
| 7 | - sys.path[0] = os.path.dirname( | ||
| 8 | - os.path.dirname( | ||
| 9 | - os.path.abspath(__file__))) | ||
| 7 | + | ||
| 8 | + sys.path.insert(1, | ||
| 9 | + os.path.dirname( | ||
| 10 | + os.path.dirname( | ||
| 11 | + os.path.abspath(__file__)))) | ||
| 10 | 12 | ||
| 11 | 13 | from testing_tools.adapter.__main__ import parse_args, main | |
| 12 | 14 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments