Skip to main content

Pytest Plugin to Mock Requests Futures

Project description

MOCKING REQUESTS FUTURES

Pytest Plugin to Mock Requests Futures

GitHub Workflow Status (branch) Read the Docs (version) Codecov Code Climate Maintainability Better Code Hub Technical Debt
Production Version PyPI - Wheel Supported Python versions GitHub GitHub commits since tagged version (branch) GitHub commits since latest release (by SemVer)

Features

  1. pytest_requests_futures python package

    1. TODO Document a Great Feature

    2. TODO Document another Nice Feature

  2. Tested against multiple platforms and python versions

Development

Here are some useful notes related to doing development on this project.

  1. Test Suite, using pytest, located in tests dir

  2. Parallel Execution of Unit Tests, on multiple cpu’s

  3. Documentation Pages, hosted on readthedocs server, located in docs dir

  4. Automation, using tox, driven by single tox.ini file

    1. Code Coverage measuring

    2. Build Command, using the build python package

    3. Pypi Deploy Command, supporting upload to both pypi.org and test.pypi.org servers

    4. Type Check Command, using mypy

    5. Lint Check and Apply commands, using isort and black

  5. CI Pipeline, running on Github Actions, defined in .github/

    1. Job Matrix, spanning different platform’s and python version’s

      1. Platforms: ubuntu-latest, macos-latest

      2. Python Interpreters: 3.6, 3.7, 3.8, 3.9, 3.10

    2. Parallel Job execution, generated from the matrix, that runs the Test Suite

Prerequisites

You need to have Python installed.

Quickstart

Using pip is the approved way for installing pytest_requests_futures.

python3 -m pip install pytest_requests_futures

TODO Document a use case

License

GitHub

License

  • Free software: GNU Affero General Public License v3.0

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_requests_futures-0.9.0.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

pytest_requests_futures-0.9.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file pytest_requests_futures-0.9.0.tar.gz.

File metadata

  • Download URL: pytest_requests_futures-0.9.0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/4.12.0 packaging/21.3 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10

File hashes

Hashes for pytest_requests_futures-0.9.0.tar.gz
Algorithm Hash digest
SHA256 e898345c039d1ada13dd39ab06d934801d37fe5e811741cab9fd2056b8984f77
MD5 bb91e61f13b5abadbb6349a87a3d9b11
BLAKE2b-256 e9f9d82bc18a3ac9eff6c5466dd194004906cabf228834b277f7c10a3f796893

See more details on using hashes here.

File details

Details for the file pytest_requests_futures-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: pytest_requests_futures-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/4.12.0 packaging/21.3 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10

File hashes

Hashes for pytest_requests_futures-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49f9f1a5aa63ceaf55f71fd5fa1e36b824184adcbbb3eaf26163a1f5735c00a9
MD5 e2c5e71bd385184b88fd6c092bfd75d6
BLAKE2b-256 33ca2fd907d1f1e5b1bbb781a6f61b4e4dd949e8ec976e308875a656d2589957

See more details on using hashes here.

Supported by

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