Helpers for testing APIs
Project description
apitest
This repo contains the python module apitest
.
It is publically available as the package evonik-apitest
.
repo structure
code/ # source code of apitest
examples/ # examples for the use of apitest
notebooks/ # notebooks with examples and doc
installation
pip install evonik-apitest
usage
from apitest import Property, Properties, Endpoints
from apitest import Component, Instance, ComponentTest
from apitest.util import rand_str, rand_int
...
build & upload
python3 setup.py sdist bdist_wheel --universal
twine upload dist/*
tests
To test the current implementation, execute the following:
pytest \
apitest/component.py \
apitest/component_test.py \
apitest/endpoints.py \
apitest/instance.py \
apitest/properties.py \
apitest/property.py \
apitest/util.py \
apitest/test_basic.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
evonik-apitest-0.0.7.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for evonik_apitest-0.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c48a7d0dc0475cc743d0ab9b1003453be43b032cf990a29f0bc720999ba7e313 |
|
MD5 | 05c317cd02e38082b1f0e83cd2c7f598 |
|
BLAKE2b-256 | 504ea204b5b2e042a8138e5fd6e92cac201278816bc423900b28e43c779eda1e |