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 maxOS 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.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.4.zip (341.8 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.4-py37-none-any.whl (6.2 kB view details)

Uploaded Python 3.7

pytest_pmisc-1.0.4-py36-none-any.whl (7.1 kB view details)

Uploaded Python 3.6

pytest_pmisc-1.0.4-py35-none-any.whl (6.8 kB view details)

Uploaded Python 3.5

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

Uploaded Python 2.7

File details

Details for the file pytest_pmisc-1.0.4.zip.

File metadata

  • Download URL: pytest_pmisc-1.0.4.zip
  • Upload date:
  • Size: 341.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pytest_pmisc-1.0.4.zip
Algorithm Hash digest
SHA256 ab27cb5572c5abcd0b2efb5ab903a5394a206a632e0d253b1ac43570c92a01c2
MD5 2cf270b447973ec94df6f95f4c67d3ec
BLAKE2b-256 493f7b26e70f528e1bddf9f3a74d89b90d839b681b0f1a4dac8cdcabfb7fb86f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.4-py37-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pytest_pmisc-1.0.4-py37-none-any.whl
Algorithm Hash digest
SHA256 aaefcd8b017ec052ed817cfce24f315a1ca5bae0ae78e4a524bf3a5b92f69ec4
MD5 9c73b6506bf321dfaf1bab6b85c753ef
BLAKE2b-256 fd2e82ff588197639b16f6947f07a733e74fed3531692dba2210e4f07e8218cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.4-py36-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3.6
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pytest_pmisc-1.0.4-py36-none-any.whl
Algorithm Hash digest
SHA256 dc0948cc8c1d0d41e18af82c5711d12d68056af41d1f3d10b5ab8b8f22fa553a
MD5 9e55e32bc4095abe2d0dd02e3808ca75
BLAKE2b-256 92f12fa8f1985eb4aa62649faecbe11dd89ea07a9082dc020846a2280c865a1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.4-py35-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3.5
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pytest_pmisc-1.0.4-py35-none-any.whl
Algorithm Hash digest
SHA256 afecab37ee77095ae59095638778dd65a6b5aa17b5ccefeb3e5137522b5ac2a3
MD5 480f5c5eb9d34465acf7da593af6484f
BLAKE2b-256 927fb7aa2f4a5ecb4eeed532fbfac256fd9459bb24c5fa047353d135548696e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.4-py27-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 2.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pytest_pmisc-1.0.4-py27-none-any.whl
Algorithm Hash digest
SHA256 a2dd0cad9c6c4e85d57418ca57262dc468560307580f4ac67880b2c0b4189b89
MD5 63c98eaa29fb71440cedbd62cff49b8c
BLAKE2b-256 0a21d46c67c712d0d3b334ad07126fa3a09f7f74b997cbd1a24e21e3100f6b4c

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