You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ All tests are located within the `tests/` directory and implemented with the [py
12
12
13
13
Most modules have a corresponding test module (e.g. `aiidalab_launch/instance.py` and `tests/test_instance.py`) which contain unit and integration tests related to that module.
14
14
15
-
We use the [pytest fixture system](https://docs.pytest.org/en/7.1.x/explanation/fixtures.html#about-fixtures) to create an isolated environment such that the user's actual configuration and docker environment (if available) are not affected.
15
+
We use the [pytest fixture system](https://docs.pytest.org/en/7.4.x/explanation/fixtures.html#about-fixtures) to create an isolated environment such that the user's actual configuration and docker environment (if available) are not affected.
16
16
For example, we ensure that we monkeypatch the `Path.home()` function to not point to the actual home directory with the [`home_path` fixture](https://github.com/aiidalab/aiidalab-launch/blob/73fe854e525d1c0adfa1f92b1aa97842df5a5c16/tests/conftest.py#L90-L95).
17
17
18
18
Most fixtures that protect the user's environment are class-scoped and auto-used.
0 commit comments