Skip to main content

No project description provided

Project description

PyPI version License Python versions supported Format

Documentation status

Description

This module contains a simple Pytest plugin for the pmisc test module.

When using the functions in the test module of the pmisc package (assert_arg_invalid, assert_exception, assert_prop, assert_ro_prop, and compare_strings), Pytest assertion failure reports stop at the code line using these functions and do not continue into the pmisc test module. This focuses attention on the actual assertion failing, and improves clarity and conciseness

Interpreter

The plugin has been developed and tested with Python 2.7, 3.5, 3.6 and 3.7 under Linux (Debian, Ubuntu), Apple macOS and Microsoft Windows

Installing

$ pip install pytest-pmisc

Documentation

Available at Read the Docs

License

The MIT License (MIT)

Copyright (c) 2018-2019 Pablo Acosta-Serafini

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. CHANGELOG.rst .. Copyright (c) 2018-2019 Pablo Acosta-Serafini .. See LICENSE for details

Changelog

  • 1.0.7 [2019-03-21]: Updated dependencies

  • 1.0.6 [2019-03-02]: Updated dependencies to fix functionality

  • 1.0.5 [2019-03-02]: Entry point bug fix

  • 1.0.4 [2019-03-02]: Critical entry point bug fix

  • 1.0.3 [2019-03-01]: Updated package management framework

  • 1.0.2 [2019-02-19]: Documentation update

  • 1.0.1 [2019-02-19]: Updated to newest dependency versions

  • 1.0.0 [2018-02-18]: Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_pmisc-1.0.7.zip (348.4 kB view details)

Uploaded Source

Built Distributions

pytest_pmisc-1.0.7-py37-none-any.whl (5.1 kB view details)

Uploaded Python 3.7

pytest_pmisc-1.0.7-py36-none-any.whl (7.7 kB view details)

Uploaded Python 3.6

pytest_pmisc-1.0.7-py35-none-any.whl (7.7 kB view details)

Uploaded Python 3.5

pytest_pmisc-1.0.7-py27-none-any.whl (7.7 kB view details)

Uploaded Python 2.7

File details

Details for the file pytest_pmisc-1.0.7.zip.

File metadata

  • Download URL: pytest_pmisc-1.0.7.zip
  • Upload date:
  • Size: 348.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.13

File hashes

Hashes for pytest_pmisc-1.0.7.zip
Algorithm Hash digest
SHA256 169dde9d1d1a22ee01213a72e82acf6b4a4c1c987c819fe538499396bc6a09e3
MD5 a1457af21f1660ef578c6490f45c9160
BLAKE2b-256 60bc5cc74fcd2100a9fdaec65cb0e44dca4f865628ede171e34d1d7473124082

See more details on using hashes here.

File details

Details for the file pytest_pmisc-1.0.7-py37-none-any.whl.

File metadata

  • Download URL: pytest_pmisc-1.0.7-py37-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.13

File hashes

Hashes for pytest_pmisc-1.0.7-py37-none-any.whl
Algorithm Hash digest
SHA256 1959d09941bde14c70e37f63b45f68a0fd922fc453d5edd5c0abe429c66e68fe
MD5 77a9fc8ef13235b25474dddf7a50f2a5
BLAKE2b-256 304bcd876c8842857adf99da3242a4191f2121b0a99422e1dca1b9a3385d1a2d

See more details on using hashes here.

File details

Details for the file pytest_pmisc-1.0.7-py36-none-any.whl.

File metadata

  • Download URL: pytest_pmisc-1.0.7-py36-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3.6
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.13

File hashes

Hashes for pytest_pmisc-1.0.7-py36-none-any.whl
Algorithm Hash digest
SHA256 abac04cd6e5b70d2d3445c09caf3a4a65a4a7e26bfb7f9b0707083bfe08bbec3
MD5 bfd37f35fb4a07b8d36a567bdd9ba937
BLAKE2b-256 3086dd96b5b1ff17255949284a38faf50f6fcc64c75553b9c32b635e6bb790c3

See more details on using hashes here.

File details

Details for the file pytest_pmisc-1.0.7-py35-none-any.whl.

File metadata

  • Download URL: pytest_pmisc-1.0.7-py35-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3.5
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.13

File hashes

Hashes for pytest_pmisc-1.0.7-py35-none-any.whl
Algorithm Hash digest
SHA256 aef3198804b74a7d7d6e57cfeed79cbc223adfe4cee2b9b549e9666ac91e686b
MD5 46c1d019ce4d8860c7ca70ba5252ce20
BLAKE2b-256 2d79677c238ffed77a7cb505cc43d41a75fe4d6dd81f10fdbf87dc727c169e1e

See more details on using hashes here.

File details

Details for the file pytest_pmisc-1.0.7-py27-none-any.whl.

File metadata

  • Download URL: pytest_pmisc-1.0.7-py27-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 2.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.13

File hashes

Hashes for pytest_pmisc-1.0.7-py27-none-any.whl
Algorithm Hash digest
SHA256 24f205217d51b57d6f8f81c4d37f6505ffaf5741ffbae12535e0ab565e6f7932
MD5 c2524a07fb9088231bcd44bd59e000f6
BLAKE2b-256 2382655209a72e294b6f52744765c786b2ec944a0620ae8e92b40503cb92b06a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page