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 673c1e0

Browse filesBrowse files
committed
docs(CHANGES) Note pytest plugin fixture changes
1 parent bac8294 commit 673c1e0
Copy full SHA for 673c1e0

File tree

Expand file treeCollapse file tree

1 file changed

+15
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+15
-1
lines changed

‎CHANGES

Copy file name to clipboardExpand all lines: CHANGES
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,25 @@ $ pip install --user --upgrade --pre libvcs
1515

1616
<!-- Maintainers, insert changes / features for the next release here -->
1717

18+
### New features
19+
20+
#### pytest plugin: Authorship fixtures (#476)
21+
22+
- New, customizable session-scoped fixtures for default committer on Mercurial and Git:
23+
- Name: {func}`libvcs.pytest_plugin.vcs_name`
24+
- Email: {func}`libvcs.pytest_plugin.vcs_email`
25+
- User (e.g. _`user <email@tld>`_): {func}`libvcs.pytest_plugin.vcs_user`
26+
- For git only: {func}`libvcs.pytest_plugin.git_commit_envvars`
27+
28+
#### pytest plugins: Default repos use authorship fixtures (#476)
29+
30+
New repos will automatically apply these session-scoped fixtures.
31+
1832
## libvcs 0.32.3 (2024-10-13)
1933

2034
### Bug fixes
2135

22-
- Pytest fixtures `hg_remote_repo_single_commit_post_init()` and `git_remote_repo_single_commit_post_init()` now support passing `env` for VCS configuration.
36+
- Pytest fixtures `hg_remote_repo_single_commit_post_init()` and `git_remote_repo_single_commit_post_init()` now support passing `env` for VCS configuration.
2337

2438
Both functions accept `hgconfig` and `gitconfig` fixtures, now applied in the `hg_repo` and `git_repo` fixtures.
2539

0 commit comments

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