pytest_pyramid provides basic fixtures for testing pyramid applications with pytest test suite

Overview

https://raw.githubusercontent.com/fizyk/pytest_pyramid/master/logo.png

pytest_pyramid

Latest PyPI version Documentation Status Wheel Status Supported Python Versions License

pytest_pyramid provides basic fixtures for testing pyramid applications with pytest test suite.

By default, pytest_pyramid will create two fixtures: pyramid_config, which creates configurator based on config.ini file, and pyramid_app, which creates TestApp based on Configurator returned by pyramid_config.

Command line options

  • --pc - pyramid configuration file based on which pytest_pyramid will create test app

Usage

For the most basic usage, pytest_pyramid provides pyramid_app and pyramid_config fixtures, that can be used to test your pyramid app. Simply pass your pyramid config *.ini file to --pc command-line option, and include pytest_app fixture into your test suite to be able to use it for integration tests.

Fixtures

pytest_pyramid provides two fixtures to be used in pytest tests:

  • pyramid_config - fixture providing pyramid's Configurator instance as defined in pyramid config's file
  • pyramid_app - pyramid application for testing - a webtest.app.TestApp

Both of these fixtures depend on the Config file passed in the command line.

Fixture factories

If you're developing a module, package meant to extend functionalities of other applications, it's not necessary to create a full-blown application to test functionalities provided in packages. To do this, pytest_pyramid provides you with fixture pytest_pyramid.factories.

There are two factories:

  • pytest_pyramid.factories.pyramid_config provides you with Configuration object based on either settings, config_file argument, or by --pc command-line option config file.
  • pytest_pyramid.factories.pyramid_app creates a webtest.app.TestApp based on Configurator class instance as returned from fixture passed by name to it. It also accepts additional fixtures that should be loaded before the pyramid_app. See the example with postgresql below.
from pytest_postgresql.plugin import postgresql
from pytest_pyramid import factories

app_config = factories.pyramid_config(config_path="development.ini")
app_with_postgres = factories.pyramid_app("app_config", "postgresql")

def test_pyramid_app(app_with_postgres):
    res = app_with_postgres.get('/', status=404)
    assert res.status_code == 404

TODO

  1. provide a pyramid_proc fixture that will start pyramid app process using summon_process

Tests

To run tests run this command:

pytest --pc tests/pyramid.test.ini

Comments
  • Coarser Fixture Scopes

    Coarser Fixture Scopes

    My conftest.py, probably non-ideal, attempts to depend a session-scoped SQLAlchemy engine upon the pyramid_config fixture. Py.test disallows depending a session-scoped fixture on another function-scoped fixture. A knob to control pyramid_config granularity would be nice.

    enhancement 
    opened by ghost 4
  • Bump pytest from 6.2.2 to 6.2.3

    Bump pytest from 6.2.2 to 6.2.3

    Bumps pytest from 6.2.2 to 6.2.3.

    Release notes

    Sourced from pytest's releases.

    6.2.3

    pytest 6.2.3 (2021-04-03)

    Bug Fixes

    • #8414: pytest used to create directories under /tmp with world-readable permissions. This means that any user in the system was able to read information written by tests in temporary directories (such as those created by the tmp_path/tmpdir fixture). Now the directories are created with private permissions.

      pytest used silenty use a pre-existing /tmp/pytest-of-<username> directory, even if owned by another user. This means another user could pre-create such a directory and gain control of another user's temporary directory. Now such a condition results in an error.

    Commits
    • 3a2fd96 Prepare release version 6.2.3
    • 138b19a Merge pull request #8517 from bluetech/backport-mktmp
    • 822686e tmpdir: prevent using a non-private root temp directory
    • 9dc54f7 tmpdir: fix temporary directories created with world-readable permissions
    • 93dbae2 pathlib: inline ensure_reset_dir()
    • 02fdbe2 pathlib: remove useless temporary variable
    • 12e7db8 Merge pull request #8285 from nicoddemus/backport-8280
    • 56e4392 Merge pull request #8280 from xuhdev/module
    • 8220eca Merge pull request #8275 from pytest-dev/release-6.2.2
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 3
  • Bump ridedott/merge-me-action from 2.10.31 to 2.10.36

    Bump ridedott/merge-me-action from 2.10.31 to 2.10.36

    Bumps ridedott/merge-me-action from 2.10.31 to 2.10.36.

    Release notes

    Sourced from ridedott/merge-me-action's releases.

    v2.10.36

    2.10.36 (2022-12-02)

    Chores

    • deps-dev: bump @​ridedott/eslint-config from 2.20.63 to 2.20.64 (a238bc3)
    • deps-dev: bump cspell from 6.15.0 to 6.16.0 (64a18be)
    • deps: bump decode-uri-component from 0.2.0 to 0.2.2 (28db34b)

    v2.10.35

    2.10.35 (2022-11-29)

    Chores

    • deps-dev: bump @​commitlint/cli from 17.2.0 to 17.3.0 (0561354)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.60 to 2.20.63 (a69944f)
    • deps-dev: bump @​semantic-release/changelog from 6.0.1 to 6.0.2 (dd41369)
    • deps-dev: bump cspell from 6.14.3 to 6.15.0 (c95f213)
    • deps-dev: bump lint-staged from 13.0.3 to 13.0.4 (c26dc82)
    • deps-dev: bump prettier from 2.7.1 to 2.8.0 (a87bfef)
    • deps: bump ridedott/release-me-action from 3.6.64 to 3.6.66 (a506b52)

    v2.10.34

    2.10.34 (2022-11-23)

    Chores

    • deps-dev: bump @​commitlint/config-conventional (34e9824)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.55 to 2.20.60 (921d1ef)
    • deps-dev: bump cspell from 6.14.2 to 6.14.3 (0ca90ce)
    • deps: bump ridedott/release-me-action from 3.6.63 to 3.6.64 (534ecd5)

    v2.10.33

    2.10.33 (2022-11-22)

    Bug Fixes

    • update action to use node16 (ecb5d65)

    v2.10.32

    2.10.32 (2022-11-16)

    Chores

    • deps-dev: bump @​commitlint/cli from 17.1.2 to 17.2.0 (bb85bfa)

    ... (truncated)

    Changelog

    Sourced from ridedott/merge-me-action's changelog.

    2.10.36 (2022-12-02)

    Chores

    • deps-dev: bump @​ridedott/eslint-config from 2.20.63 to 2.20.64 (a238bc3)
    • deps-dev: bump cspell from 6.15.0 to 6.16.0 (64a18be)
    • deps: bump decode-uri-component from 0.2.0 to 0.2.2 (28db34b)

    2.10.35 (2022-11-29)

    Chores

    • deps-dev: bump @​commitlint/cli from 17.2.0 to 17.3.0 (0561354)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.60 to 2.20.63 (a69944f)
    • deps-dev: bump @​semantic-release/changelog from 6.0.1 to 6.0.2 (dd41369)
    • deps-dev: bump cspell from 6.14.3 to 6.15.0 (c95f213)
    • deps-dev: bump lint-staged from 13.0.3 to 13.0.4 (c26dc82)
    • deps-dev: bump prettier from 2.7.1 to 2.8.0 (a87bfef)
    • deps: bump ridedott/release-me-action from 3.6.64 to 3.6.66 (a506b52)

    2.10.34 (2022-11-23)

    Chores

    • deps-dev: bump @​commitlint/config-conventional (34e9824)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.55 to 2.20.60 (921d1ef)
    • deps-dev: bump cspell from 6.14.2 to 6.14.3 (0ca90ce)
    • deps: bump ridedott/release-me-action from 3.6.63 to 3.6.64 (534ecd5)

    2.10.33 (2022-11-22)

    Bug Fixes

    • update action to use node16 (ecb5d65)

    ... (truncated)

    Commits
    • 1c2d703 chore(release): v2.10.36
    • 28db34b chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2
    • 64a18be chore(deps-dev): bump cspell from 6.15.0 to 6.16.0
    • a238bc3 chore(deps-dev): bump @​ridedott/eslint-config from 2.20.63 to 2.20.64
    • dea5d14 chore(release): v2.10.35
    • a506b52 chore(deps): bump ridedott/release-me-action from 3.6.64 to 3.6.66
    • dd41369 chore(deps-dev): bump @​semantic-release/changelog from 6.0.1 to 6.0.2
    • c95f213 chore(deps-dev): bump cspell from 6.14.3 to 6.15.0
    • c26dc82 chore(deps-dev): bump lint-staged from 13.0.3 to 13.0.4
    • 0561354 chore(deps-dev): bump @​commitlint/cli from 17.2.0 to 17.3.0
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 2
  • Bump ridedott/merge-me-action from 2.10.31 to 2.10.34

    Bump ridedott/merge-me-action from 2.10.31 to 2.10.34

    Bumps ridedott/merge-me-action from 2.10.31 to 2.10.34.

    Release notes

    Sourced from ridedott/merge-me-action's releases.

    v2.10.34

    2.10.34 (2022-11-23)

    Chores

    • deps-dev: bump @​commitlint/config-conventional (34e9824)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.55 to 2.20.60 (921d1ef)
    • deps-dev: bump cspell from 6.14.2 to 6.14.3 (0ca90ce)
    • deps: bump ridedott/release-me-action from 3.6.63 to 3.6.64 (534ecd5)

    v2.10.33

    2.10.33 (2022-11-22)

    Bug Fixes

    • update action to use node16 (ecb5d65)

    v2.10.32

    2.10.32 (2022-11-16)

    Chores

    • deps-dev: bump @​commitlint/cli from 17.1.2 to 17.2.0 (bb85bfa)
    • deps-dev: bump @​commitlint/config-conventional (968ce11)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.44 to 2.20.45 (5ae8508)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.45 to 2.20.47 (9ca7f63)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.47 to 2.20.49 (2185912)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.49 to 2.20.50 (f618293)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.50 to 2.20.51 (464c3f5)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.51 to 2.20.52 (8f971f5)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.52 to 2.20.54 (2b66c9f)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.54 to 2.20.55 (621ecb5)
    • deps-dev: bump cspell from 6.12.0 to 6.13.1 (0fd46d8)
    • deps-dev: bump cspell from 6.13.1 to 6.13.3 (1c174f6)
    • deps-dev: bump cspell from 6.13.3 to 6.14.1 (8d04bc9)
    • deps-dev: bump cspell from 6.14.1 to 6.14.2 (da65d03)
    • deps-dev: bump husky from 8.0.1 to 8.0.2 (dce1c5a)
    • deps: bump ridedott/release-me-action from 3.6.61 to 3.6.63 (ae7bd1a)
    Changelog

    Sourced from ridedott/merge-me-action's changelog.

    2.10.34 (2022-11-23)

    Chores

    • deps-dev: bump @​commitlint/config-conventional (34e9824)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.55 to 2.20.60 (921d1ef)
    • deps-dev: bump cspell from 6.14.2 to 6.14.3 (0ca90ce)
    • deps: bump ridedott/release-me-action from 3.6.63 to 3.6.64 (534ecd5)

    2.10.33 (2022-11-22)

    Bug Fixes

    • update action to use node16 (ecb5d65)

    2.10.32 (2022-11-16)

    Chores

    • deps-dev: bump @​commitlint/cli from 17.1.2 to 17.2.0 (bb85bfa)
    • deps-dev: bump @​commitlint/config-conventional (968ce11)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.44 to 2.20.45 (5ae8508)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.45 to 2.20.47 (9ca7f63)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.47 to 2.20.49 (2185912)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.49 to 2.20.50 (f618293)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.50 to 2.20.51 (464c3f5)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.51 to 2.20.52 (8f971f5)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.52 to 2.20.54 (2b66c9f)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.54 to 2.20.55 (621ecb5)
    • deps-dev: bump cspell from 6.12.0 to 6.13.1 (0fd46d8)
    • deps-dev: bump cspell from 6.13.1 to 6.13.3 (1c174f6)
    • deps-dev: bump cspell from 6.13.3 to 6.14.1 (8d04bc9)

    ... (truncated)

    Commits
    • 6609df6 chore(release): v2.10.34
    • 534ecd5 chore(deps): bump ridedott/release-me-action from 3.6.63 to 3.6.64
    • 34e9824 chore(deps-dev): bump @​commitlint/config-conventional
    • 921d1ef chore(deps-dev): bump @​ridedott/eslint-config from 2.20.55 to 2.20.60
    • 0ca90ce chore(deps-dev): bump cspell from 6.14.2 to 6.14.3
    • 60294ab chore(release): v2.10.33
    • ecb5d65 fix: update action to use node16
    • ae53ddc chore(release): v2.10.32
    • ae7bd1a chore(deps): bump ridedott/release-me-action from 3.6.61 to 3.6.63
    • 621ecb5 chore(deps-dev): bump @​ridedott/eslint-config from 2.20.54 to 2.20.55
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 2
  • Bump pycodestyle from 2.9.1 to 2.10.0

    Bump pycodestyle from 2.9.1 to 2.10.0

    Bumps pycodestyle from 2.9.1 to 2.10.0.

    Changelog

    Sourced from pycodestyle's changelog.

    2.10.0 (2022-11-23)

    Changes:

    • E231: allow trailing comma inside 1-tuples in []. PR #1108.
    • W601, W602, W603, W604: removed (no longer relevant in python 3). PR #1111.
    • E741: also apply to lambdas. PR #1106.
    • E741: fix false positive for comparison operators. PR #1118.
    Commits
    • 1063db8 Merge pull request #1125 from PyCQA/2_10_0
    • 806bf5c Release 2.10.0
    • b388782 Merge pull request #1123 from PyCQA/fix-E741-again
    • 7498309 Merge pull request #1124 from PyCQA/py2-cruft
    • 798d620 fix ambiguous identifiers in lambda bodies inside braces
    • 956ab1f remove some leftover python 2 compat
    • c5308a7 Merge pull request #1122 from PyCQA/stop-E741-after-parameters
    • 56dac13 fix reporting of ambiguous identifier after parameter list
    • 6cac99d Merge pull request #1119 from PyCQA/pre-commit-ci-update-config
    • 1094676 [pre-commit.ci] pre-commit autoupdate
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 2
  • Bump ridedott/merge-me-action from 2.10.31 to 2.10.32

    Bump ridedott/merge-me-action from 2.10.31 to 2.10.32

    Bumps ridedott/merge-me-action from 2.10.31 to 2.10.32.

    Release notes

    Sourced from ridedott/merge-me-action's releases.

    v2.10.32

    2.10.32 (2022-11-16)

    Chores

    • deps-dev: bump @​commitlint/cli from 17.1.2 to 17.2.0 (bb85bfa)
    • deps-dev: bump @​commitlint/config-conventional (968ce11)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.44 to 2.20.45 (5ae8508)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.45 to 2.20.47 (9ca7f63)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.47 to 2.20.49 (2185912)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.49 to 2.20.50 (f618293)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.50 to 2.20.51 (464c3f5)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.51 to 2.20.52 (8f971f5)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.52 to 2.20.54 (2b66c9f)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.54 to 2.20.55 (621ecb5)
    • deps-dev: bump cspell from 6.12.0 to 6.13.1 (0fd46d8)
    • deps-dev: bump cspell from 6.13.1 to 6.13.3 (1c174f6)
    • deps-dev: bump cspell from 6.13.3 to 6.14.1 (8d04bc9)
    • deps-dev: bump cspell from 6.14.1 to 6.14.2 (da65d03)
    • deps-dev: bump husky from 8.0.1 to 8.0.2 (dce1c5a)
    • deps: bump ridedott/release-me-action from 3.6.61 to 3.6.63 (ae7bd1a)
    Changelog

    Sourced from ridedott/merge-me-action's changelog.

    2.10.32 (2022-11-16)

    Chores

    • deps-dev: bump @​commitlint/cli from 17.1.2 to 17.2.0 (bb85bfa)
    • deps-dev: bump @​commitlint/config-conventional (968ce11)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.44 to 2.20.45 (5ae8508)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.45 to 2.20.47 (9ca7f63)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.47 to 2.20.49 (2185912)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.49 to 2.20.50 (f618293)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.50 to 2.20.51 (464c3f5)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.51 to 2.20.52 (8f971f5)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.52 to 2.20.54 (2b66c9f)
    • deps-dev: bump @​ridedott/eslint-config from 2.20.54 to 2.20.55 (621ecb5)
    • deps-dev: bump cspell from 6.12.0 to 6.13.1 (0fd46d8)
    • deps-dev: bump cspell from 6.13.1 to 6.13.3 (1c174f6)
    • deps-dev: bump cspell from 6.13.3 to 6.14.1 (8d04bc9)
    • deps-dev: bump cspell from 6.14.1 to 6.14.2 (da65d03)
    • deps-dev: bump husky from 8.0.1 to 8.0.2 (dce1c5a)
    • deps: bump ridedott/release-me-action from 3.6.61 to 3.6.63 (ae7bd1a)
    Commits
    • ae53ddc chore(release): v2.10.32
    • ae7bd1a chore(deps): bump ridedott/release-me-action from 3.6.61 to 3.6.63
    • 621ecb5 chore(deps-dev): bump @​ridedott/eslint-config from 2.20.54 to 2.20.55
    • da65d03 chore(deps-dev): bump cspell from 6.14.1 to 6.14.2
    • 2b66c9f chore(deps-dev): bump @​ridedott/eslint-config from 2.20.52 to 2.20.54
    • dce1c5a chore(deps-dev): bump husky from 8.0.1 to 8.0.2
    • 8d04bc9 chore(deps-dev): bump cspell from 6.13.3 to 6.14.1
    • 8f971f5 chore(deps-dev): bump @​ridedott/eslint-config from 2.20.51 to 2.20.52
    • 968ce11 chore(deps-dev): bump @​commitlint/config-conventional
    • bb85bfa chore(deps-dev): bump @​commitlint/cli from 17.1.2 to 17.2.0
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 2
  • Bump mypy from 0.982 to 0.991

    Bump mypy from 0.982 to 0.991

    Bumps mypy from 0.982 to 0.991.

    Commits
    • b7788fc Update version to remove "+dev" for releasing 0.991
    • 6077d19 manually CP typeshed #9130
    • ab0ea1e Fix crash with function redefinition (#14064)
    • 592a9ce Fix another crash with report generation on namespace packages (#14063)
    • 1650ae0 Update --no-warn-no-return docs for empty body changes (#14065)
    • b9daa31 Don't ignore errors in files passed on the command line (#14060)
    • 02fd8a5 Filter out wasm32 wheel in upload-pypi.py (#14035)
    • 131c8d7 Fix crash on inference with recursive alias to recursive instance (#14038)
    • 1368338 Change version to 0.991+dev in preparation for the point release
    • b71dc3d Remove +dev from version
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 2
  • Bump mypy from 0.982 to 0.990

    Bump mypy from 0.982 to 0.990

    Bumps mypy from 0.982 to 0.990.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 2
A set of pytest fixtures to test Flask applications

pytest-flask An extension of pytest test runner which provides a set of useful tools to simplify testing and development of the Flask extensions and a

pytest-dev 354 Feb 17, 2021
ApiPy was created for api testing with Python pytest framework which has also requests, assertpy and pytest-html-reporter libraries.

ApiPy was created for api testing with Python pytest framework which has also requests, assertpy and pytest-html-reporter libraries. With this f

Mustafa 1 Jul 11, 2022
pytest plugin for a better developer experience when working with the PyTorch test suite

pytest-pytorch What is it? pytest-pytorch is a lightweight pytest-plugin that enhances the developer experience when working with the PyTorch test sui

Quansight 39 Nov 18, 2022
Pytest-typechecker - Pytest plugin to test how type checkers respond to code

pytest-typechecker this is a plugin for pytest that allows you to create tests t

vivax 2 Aug 20, 2022
It helps to use fixtures in pytest.mark.parametrize

pytest-lazy-fixture Use your fixtures in @pytest.mark.parametrize. Installation pip install pytest-lazy-fixture Usage import pytest @pytest.fixture(p

Marsel Zaripov 299 Dec 24, 2022
Redis fixtures and fixture factories for Pytest.

Redis fixtures and fixture factories for Pytest.This is a pytest plugin, that enables you to test your code that relies on a running Redis database. It allows you to specify additional fixtures for Redis process and client.

Clearcode 86 Dec 23, 2022
pytest plugin for distributed testing and loop-on-failures testing modes.

xdist: pytest distributed testing plugin The pytest-xdist plugin extends pytest with some unique test execution modes: test run parallelization: if yo

pytest-dev 1.1k Dec 30, 2022
Playwright Python tool practice pytest pytest-bdd screen-play page-object allure cucumber-report

pytest-ui-automatic Playwright Python tool practice pytest pytest-bdd screen-play page-object allure cucumber-report How to run Run tests execute_test

moyu6027 11 Nov 8, 2022
pytest plugin providing a function to check if pytest is running.

pytest-is-running pytest plugin providing a function to check if pytest is running. Installation Install with: python -m pip install pytest-is-running

Adam Johnson 21 Nov 1, 2022
Pytest-rich - Pytest + rich integration (proof of concept)

pytest-rich Leverage rich for richer test session output. This plugin is not pub

Bruno Oliveira 170 Dec 2, 2022
A pytest plugin to run an ansible collection's unit tests with pytest.

pytest-ansible-units An experimental pytest plugin to run an ansible collection's unit tests with pytest. Description pytest-ansible-units is a pytest

Community managed Ansible repositories 9 Dec 9, 2022
A test fixtures replacement for Python

factory_boy factory_boy is a fixtures replacement based on thoughtbot's factory_bot. As a fixtures replacement tool, it aims to replace static, hard t

FactoryBoy project 3k Jan 5, 2023
A test fixtures replacement for Python

factory_boy factory_boy is a fixtures replacement based on thoughtbot's factory_bot. As a fixtures replacement tool, it aims to replace static, hard t

FactoryBoy project 2.4k Feb 5, 2021
A test fixtures replacement for Python

factory_boy factory_boy is a fixtures replacement based on thoughtbot's factory_bot. As a fixtures replacement tool, it aims to replace static, hard t

FactoryBoy project 2.4k Feb 8, 2021
Ab testing - The using AB test to test of difference of conversion rate

Facebook recently introduced a new type of offer that is an alternative to the current type of bidding called maximum bidding he introduced average bidding.

null 5 Nov 21, 2022
Voip Open Linear Testing Suite

VOLTS Voip Open Linear Tester Suite Functional tests for VoIP systems based on voip_patrol and docker 10'000 ft. view System is designed to run simple

Igor Olhovskiy 17 Dec 30, 2022
A command-line tool and Python library and Pytest plugin for automated testing of RESTful APIs, with a simple, concise and flexible YAML-based syntax

1.0 Release See here for details about breaking changes with the upcoming 1.0 release: https://github.com/taverntesting/tavern/issues/495 Easier API t

null 909 Dec 15, 2022
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. An example o

pytest-dev 9.6k Jan 2, 2023
A collection of testing examples using pytest and many other libreris

Effective testing with Python This project was created for PyConEs 2021 Check out the test samples at tests Check out the slides at slides (markdown o

Héctor Canto 10 Oct 23, 2022