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 OS X 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.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.2.zip (55.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pytest_pmisc-1.0.2-py37-none-any.whl (4.9 kB view details)

Uploaded Python 3.7

pytest_pmisc-1.0.2-py36-none-any.whl (7.5 kB view details)

Uploaded Python 3.6

pytest_pmisc-1.0.2-py35-none-any.whl (7.5 kB view details)

Uploaded Python 3.5

pytest_pmisc-1.0.2-py27-none-any.whl (7.5 kB view details)

Uploaded Python 2.7

File details

Details for the file pytest_pmisc-1.0.2.zip.

File metadata

  • Download URL: pytest_pmisc-1.0.2.zip
  • Upload date:
  • Size: 55.6 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.2.zip
Algorithm Hash digest
SHA256 900f564544ba028596f1370b8cfa9157121f5a5cc631d81a57a67ce3be58ef38
MD5 f7a36f1d4255999cbb424d0faae72125
BLAKE2b-256 d1ad0e802dace74d4e5b777aa1c876208b315fc04200d4e0695c7fa66578b276

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.2-py37-none-any.whl
  • Upload date:
  • Size: 4.9 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.2-py37-none-any.whl
Algorithm Hash digest
SHA256 950735366c310c0c2e1b2de5dd3eb33ff26d90474507e3a227abd792a8937b7c
MD5 70d0a3ee5d5b81ab5d365b7e5fe2cf0a
BLAKE2b-256 c28cb64f6df1bf7066b92df13333fa7e2ed945c82f0df6149bec223d1df1a74d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.2-py36-none-any.whl
  • Upload date:
  • Size: 7.5 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.2-py36-none-any.whl
Algorithm Hash digest
SHA256 88b7f85ad16132c87d77070f8d77ecda0680d6f0aa7d3ff8a2cdd8d47b9d7215
MD5 5e8882dfe26af8e1158fd9a73bbe80a8
BLAKE2b-256 b204a81f328a2fd7ddf342a90913de050fbd3d6dd4cb623434627c034ffd2fae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.2-py35-none-any.whl
  • Upload date:
  • Size: 7.5 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.2-py35-none-any.whl
Algorithm Hash digest
SHA256 d68dcde60ce60bc16e8800e849a5d7b2588d04097f9e72dd0a803946c90d6943
MD5 314efd93aa240092c167a8bb457e2ca4
BLAKE2b-256 05391d6b5c654a4feca89863c1ee8a92f857a997b447d301d3a3c5e9e064cacf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.2-py27-none-any.whl
  • Upload date:
  • Size: 7.5 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.2-py27-none-any.whl
Algorithm Hash digest
SHA256 6b8b20a8a394d967b50db328f780fdac9cb052be0ac14e5a348e1c3f68cdcd4e
MD5 adde134914c6f255df4859ad933d250d
BLAKE2b-256 0179a25d939cd09c735c0903f4551913a8b1ec03be175045b7ac59b3aff96176

See more details on using hashes here.

Supported by

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