Skip to content

Commit

Permalink
d updated markdown snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 28, 2024
1 parent 6cf76ea commit dc9804b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ Here's the code for implementing it in `conftest.py` (so skip the code in `__ini
def set_default_reporter_for_all_tests():
configure_approvaltests()
```
<sup><a href='/tests/conftest.py#L6-L12' title='Snippet source file'>snippet source</a> | <a href='#snippet-conftest_pytest_session_scoped' title='Start of snippet'>anchor</a></sup>
<sup><a href='/tests/conftest.py#L9-L15' title='Snippet source file'>snippet source</a> | <a href='#snippet-conftest_pytest_session_scoped' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from tests.approvals_config import configure_approvaltests

import pytest

# The next line registers the plugin
from approvaltests.pytest.pytest_plugin import pytest_configure


# begin-snippet: conftest_pytest_session_scoped
@pytest.fixture(scope="session", autouse=True)
def set_default_reporter_for_all_tests():
configure_approvaltests()


# end-snippet


0 comments on commit dc9804b

Please sign in to comment.