Skip to main content

Unit testing:

Unit tests may be run with the following command:

python -m unittest discover

Unit testing with Docker

With this method, you can test using the same environment that as-models-api natively runs in.

By default, we provide a docker-compose.yml file that will run the unittests on both Python 2.7 and Python 3.5

To run the tests on the working copy of your source:

docker-compose up

The first run will take a while to pull down and build the images. Subsequent runs should be very fast.

Coverage Reporting:

Coverage reporting is handled by the Python coverage library. If necessary, it can be installed as follows:

sudo pip install coverage

An HTML coverage report can then be generated with these commands:

coverage run -m unittest discover
coverage html

The results will be placed in the '/htmlcov' directory.

Release files for eratos-as-api 4.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eratos-as-api 4.5.0
File Size Uploaded
eratos_as_api-4.5.0.tar.gz 41.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eratos-as-api 4.5.0
File Interpreter ABI Platform
eratos_as_api-4.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 78.0 kB

Release files / eratos_as_api-4.5.0.tar.gz

Download URL eratos_as_api-4.5.0.tar.gz
Size 41.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f5d8178a48a65d358eb83ead8a3ea97b941b7d0948afd37912af99a63af013db
BLAKE2b-256 checksum
How to use checksums
9563454267e1433e57dd5526dac14c8f5337033204c2870ed124b6087c6a9be8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / eratos_as_api-4.5.0-py3-none-any.whl

Download URL eratos_as_api-4.5.0-py3-none-any.whl
Size 37.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a36cc4ff3658570c72eb6b411f50169e42f7253f0839ef137c5a37082fd9b84
BLAKE2b-256 checksum
How to use checksums
7fdf312eae0b93933632a3f042e74a22fa7cbde1d08bce7a82db52e0f5368a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

4.5.0 This release

2 release files

4.4.0

2 release files

4.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page