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 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.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.1.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.1-py37-none-any.whl (4.9 kB view details)

Uploaded Python 3.7

pytest_pmisc-1.0.1-py36-none-any.whl (7.4 kB view details)

Uploaded Python 3.6

pytest_pmisc-1.0.1-py35-none-any.whl (7.4 kB view details)

Uploaded Python 3.5

pytest_pmisc-1.0.1-py27-none-any.whl (7.4 kB view details)

Uploaded Python 2.7

File details

Details for the file pytest_pmisc-1.0.1.zip.

File metadata

  • Download URL: pytest_pmisc-1.0.1.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.1.zip
Algorithm Hash digest
SHA256 e3b3b298e622c1e7cbfd12eebb48ff2d05631e9664ec8aa11b7f9223efd80a80
MD5 8e36ee11a9923f9daa1b819c0a8ced04
BLAKE2b-256 a3255586e095458977a316789b6c692e2b4b5a643f0c616593e712d27e84cea3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.1-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.1-py37-none-any.whl
Algorithm Hash digest
SHA256 d7124174651006ac2139f8409330c8a10d761dbb33d58a9446c536b48733c7d1
MD5 d45a7292a82b5d968c8031099043a2fd
BLAKE2b-256 91bb211ca68cb42a8c18e227907d648c51326c89c58c7eee652609ead9f6d4f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.1-py36-none-any.whl
  • Upload date:
  • Size: 7.4 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.1-py36-none-any.whl
Algorithm Hash digest
SHA256 f5883b16be364747b3ed98ce40e0eba3575839f19b72dd9082981750c16530fd
MD5 e8278adb91a3bd4a6e0912d12b9230a9
BLAKE2b-256 94144448176d1bd9f7f096613432ee4211cc42ffdd735049694b32e6b9a92cdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.1-py35-none-any.whl
  • Upload date:
  • Size: 7.4 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.1-py35-none-any.whl
Algorithm Hash digest
SHA256 6c0509219e99774612a9271382331e462d4d74699c401026d614e0bbcd29f050
MD5 f26d84c72ecb086047f725dbeb1f1a78
BLAKE2b-256 bb6646c764146c5d1642343a7ac32883b64fd20896854b9724ac9ad5c50612ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pmisc-1.0.1-py27-none-any.whl
  • Upload date:
  • Size: 7.4 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.1-py27-none-any.whl
Algorithm Hash digest
SHA256 f7a3a05fad1ee7bc62301eb030eba7f4931520565d31cf7bc02085ba3b202e9e
MD5 a76d5bc8fa483a09184f80768b11cddb
BLAKE2b-256 64b10262e77d46d75ad1ecd046fd20ddf3bc4f296db421641780158e6183b545

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