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

plugin: Set unused_tcp_port_factory scope to 'session' #163

Merged
merged 1 commit into from
Dec 1, 2020

Commits on Nov 30, 2020

  1. plugin: Set unused_tcp_port_factory scope to 'session'

    Factories in pytest usually have a scope greater than 'function' to let
    one use the same factory within bigger scopes. Let us allow
    unused_tcp_port_factory to be used throughout the same session scope.
    This will let other session-scoped factories depend on
    unused_tcp_port_factory without getting a "ScopeMismatch" error.
    Romain Létendart committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    919638f View commit details
    Browse the repository at this point in the history