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.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.3.zip (340.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.3-py37-none-any.whl (4.8 kB view details)

Uploaded Python 3.7

pytest_pmisc-1.0.3-py36-none-any.whl (7.3 kB view details)

Uploaded Python 3.6

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

Uploaded Python 3.5

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

Uploaded Python 2.7

File details

Details for the file pytest_pmisc-1.0.3.zip.

File metadata

  • Download URL: pytest_pmisc-1.0.3.zip
  • Upload date:
  • Size: 340.8 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.3.zip
Algorithm Hash digest
SHA256 80f0a0f722e7db1bcda45f4fba1056763870abe8755073be55b0677366a438a1
MD5 e0750bdb0f46a8a31c3a89ffe3b08a80
BLAKE2b-256 86978bb74be627d6bb3b40ad1eb70d11f888043106d39fd4ba582eb4e277e860

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.3-py37-none-any.whl
  • Upload date:
  • Size: 4.8 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.3-py37-none-any.whl
Algorithm Hash digest
SHA256 a424f2642577558a553dbc107973f9caa959f9be9bc6dd2b9089d2f7eff04666
MD5 30d67c48f07adb8dd29574a01f483c3b
BLAKE2b-256 030a5586d03e804d4095256b3e0380c8a9fa1114540a8b0c2c115aa597c1b075

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.3-py36-none-any.whl
  • Upload date:
  • Size: 7.3 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.3-py36-none-any.whl
Algorithm Hash digest
SHA256 82ab4bd09f0e99fe86f24f81a9efa98f97de3712f06b381fd5413a72101ce7ce
MD5 850d428ed86b7f1706eaa93617f00f57
BLAKE2b-256 b447ec683026f314613dd85a2d7d74d64ba8f99118d56abdd3be5791672e5bf5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.3-py35-none-any.whl
  • Upload date:
  • Size: 7.3 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.3-py35-none-any.whl
Algorithm Hash digest
SHA256 0c2247927a3a0d3f8891ac38c5a64b930e760b9fbb7ff1589b12c8b3268b075d
MD5 3a4bd8e7b2351a1ee3501ca5aa75339d
BLAKE2b-256 ee03dd0c159fdf637650dbcb0494c37bc870f13c16fc6cf24a8a3d10cee40061

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.3-py27-none-any.whl
  • Upload date:
  • Size: 7.3 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.3-py27-none-any.whl
Algorithm Hash digest
SHA256 c14de0b2beb2b62c4d1d49ca6220171af0163b494703fc4f9bafa1f15e5a955c
MD5 25486738999673f8a85cc01e822e1c28
BLAKE2b-256 94526d33818cbd640934c331070fc3b508d612ebea86187a6dd385c2c75d67e2

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