Skip to content

Commit cae8a36

Browse files
authored
📝 Update PyCharm setup in README (#192)
1 parent 9180ad8 commit cae8a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Setting the `src` directory right, allows PyCharm to effectively suggest import
7878
If you ever see something like `from src.mypackage.mymodule import ...`, then you probably forgot this step.
7979
5. Set the working directory of the unit tests to the project root (instead of the unittest directory). How to do this:
8080
a) Open any test file whose name starts with `test_` in unit tests/tests
81-
b) Right click inside the code ➡ More Run/Debug ➡ Modify Run Configuration ➡ Working directory
81+
b) Right click inside the code ➡ More Run/Debug ➡ Modify Run Configuration ➡ expand Environment collapsible ➡ Working directory
8282
c) Change to `your_repo` instead of `your_repo\unittests`
8383
By doing so, the import and other file paths in the tests are relative to the repo root.
8484
If this doesn't work anymore, see: [working directory of the unit tests](https://www.jetbrains.com/help/pycharm/creating-run-debug-configuration-for-tests.html)

0 commit comments

Comments
 (0)