Metadata-Version: 2.1
Name: cz-testing-python
Version: 0.3.1b1
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


[![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.

