Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ef267cc

Browse filesBrowse files
committed
docs(pytest-plugin) Note how fixture is cached
1 parent 72976c6 commit ef267cc
Copy full SHA for ef267cc

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎docs/pytest-plugin.md

Copy file name to clipboardExpand all lines: docs/pytest-plugin.md
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ def my_git_repo(
131131
return repo_path
132132
```
133133

134+
```{note}
135+
The `create_git_remote_repo` fixture creates a repository once per test session and reuses it, making copies for individual tests to avoid repeated `git init` operations.
136+
```
137+
134138
#### Mercurial
135139

136140
Use the {func}`set_hgconfig` fixture with `autouse=True`:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.