Skip to content
Sections
>> Trisquel >> Paketler >> ecne (12.0LTS) >> python >> python3-pook
[  ecne  ] [  xolotl  ]
[ Kaynak: python-pook  ]

Paket: python3-pook (1.1.1-1)

HTTP traffic mocking and testing made easy (Python 3)

Versatile, expressive and hackable utility library for HTTP traffic mocking and expectations made easy in Python. Heavily inspired by gock.

Features:

  - Simple, expressive and fluent API.
  - Provides both Pythonic and chainable DSL API styles.
  - Full-featured HTTP response definitions and expectations.
  - Matches any HTTP protocol primitive (URL, method, query params, headers,
    body...).
  - Full regular expressions capable mock expectations matching.
  - Supports most popular HTTP clients via interceptor adapters.
  - Configurable volatile, persistent or TTL limited mocks.
  - Works with any testing framework/engine (unittest, pytest, nosetests...).
  - First-class JSON & XML support matching and responses.
  - Supports JSON Schema body matching.
  - Works in both runtime and testing environments.
  - Can be used as decorator and/or via context managers.
  - Supports real networking mode with optional traffic filtering.
  - Map/filter mocks easily for generic or custom mock expectations.
  - Custom user-defined mock matcher functions.
  - Simulated raised error exceptions.
  - Network delay simulation (only available for aiohttp).
  - Pluggable and hackable API.
  - Customizable HTTP traffic mock interceptor engine.
  - Supports third-party mocking engines, such as mocket.
  - Fits good for painless test doubles.
  - Does not support WebSocket traffic mocking.
  - Works with Python +2.7 and +3.0 (including PyPy).
  - Dependency-less: just 2 small dependencies for JSONSchema and XML tree
    comparison.

This package installs the library for Python 3.

python3-pook ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-furl
    Small Python library for URLs parsing and manipulating
  • dep: python3-jsonschema
    An(other) implementation of JSON Schema (Draft 3, 4, 6, 7)
  • dep: python3-xmltodict
    Makes working with XML feel like you are working with JSON (Python 3)
  • sug: python-pook-doc
    HTTP traffic mocking and testing made easy (common documentation)

python3-pook indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 32,9 kB192 kB [dosya listesi]