Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit variable-level scopes for client fixture. #970

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

faelin
Copy link

@faelin faelin commented Jun 17, 2024

Sometimes a user might not want the client fixture to be function-scoped. For example, another fixture may rely on the connection info of the client, such as port-number, and might want that data to remain static throughout a session, or might need that data in a session-scoped fixture.

Chore that needs to be done:

  • Add newsfragment pipenv run towncrier create [issue_number].[type].rst

Types are defined in the pyproject.toml, issue_number either from issue tracker or the Pull request number

Sometimes a user might not *want* the client fixture to be function-scoped. For example, another fixture may rely on the connection info of the client, such as port-number, and might want that data to remain static throughout a session, or might need that data in a session-scoped fixture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant