Metadata-Version: 2.1
Name: cz-testing-python
Version: 0.3.1
Summary: Useful testing functions; remove all the boilerplate
Home-page: https://github.com/Cloudzero/cz-testing-python
Author: CloudZero
Author-email: support@cloudzero.com
License: UNLICENSED
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: boto3 (>=1.14.62)
Requires-Dist: botocore (>=1.17.62)
Requires-Dist: cachetools (>=4.1.1)
Requires-Dist: typing-extensions (>=3.7.4.3)
Requires-Dist: toolz (>=0.10.0)
Requires-Dist: voluptuous (>=0.12.0)
Requires-Dist: pyfaaster (>=0.2.0)
Requires-Dist: aws-lambda-powertools (>=1.22.0)
Requires-Dist: cz-common-python (>=0.10.53)
Requires-Dist: faker (>=13.3.4)
Requires-Dist: boto3-stubs[stepfunctions]
Requires-Dist: docker (>=6.0.0)
Requires-Dist: deprecated (>=1.2.10)


[![Build Status](https://cloudzero.semaphoreci.com/badges/cz-testing-python/branches/main.svg)](https://cloudzero.semaphoreci.com/projects/cz-testing-python)

# Overview

`cz-testing-python` provides the `czt` python package that contains useful feature modules like:

- `czt.datagenerator`: generates fake data
- `czt.smoke`:
  - `api_test_runner`: low level smoke test runners
  - `api_test_client`: high level smoke test client APIs
- `czt.unittest`:
  - `Context` context manager for use in context fixtures
  - `MockEx` class decorates mocks, adding assertable chainable methods, e.g. `MockEx(mock).was_called_once_with(*args, **kwargs)` does all of the nasty argument unpacking and comparison and compares call count.

