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 and 3.6 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 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 Pablo Acosta-Serafini .. See LICENSE for details

Changelog

  • 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.tar.gz (37.3 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-py36-none-any.whl (7.3 kB view details)

Uploaded Python 3.6

pytest_pmisc-1.0-py35-none-any.whl (7.3 kB view details)

Uploaded Python 3.5

pytest_pmisc-1.0-py27-none-any.whl (7.3 kB view details)

Uploaded Python 2.7

File details

Details for the file pytest_pmisc-1.0.tar.gz.

File metadata

  • Download URL: pytest_pmisc-1.0.tar.gz
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytest_pmisc-1.0.tar.gz
Algorithm Hash digest
SHA256 0c8a03dc64a88e500ce0462cdda2a29818fc271c1660fb1319d84ef6d19b5f10
MD5 4d06f804b03377a9cea8ce5d53991579
BLAKE2b-256 df8b425a2a977e9c0f85ec454e4879aba4a8645a4bc8c30193c42654b8e39def

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_pmisc-1.0-py36-none-any.whl
Algorithm Hash digest
SHA256 2035b00f81b3ecba1643f6addd65e3f5d443a6bf565a3ebc00e39a5e17eb7155
MD5 b8ab74093fa0ab32625c547502f97ded
BLAKE2b-256 7a5fd415a1bda590f9e61fe3c2a52afb5c2b52498c4954f4139195e19680c465

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_pmisc-1.0-py35-none-any.whl
Algorithm Hash digest
SHA256 ffda877de001253c0b805c756de3275c6f8a860ab40bddd6536f30735416ca8f
MD5 59279f758b8938d6f15d968892e4566d
BLAKE2b-256 252912175df8aee12bdc9b041b639cd45ad13d2b9abc920fc93aef4c65660f3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_pmisc-1.0-py27-none-any.whl
Algorithm Hash digest
SHA256 bcdea3ba11edf768e73b0960b24bae71f64d777815b1d331376e7e1b5cb2fecf
MD5 12ded78c0eee633014d7288868ca5671
BLAKE2b-256 7c0a62ef63f88865b0c1af31d16139a8a9afe1d337b3b95f90f91f2242bbf666

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