Skip to main content

Analysis Services model integration library.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eratos_as_api-4.5.0.tar.gz (41.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eratos_as_api-4.5.0-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file eratos_as_api-4.5.0.tar.gz.

File metadata

  • Download URL: eratos_as_api-4.5.0.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for eratos_as_api-4.5.0.tar.gz
Algorithm Hash digest
SHA256 f5d8178a48a65d358eb83ead8a3ea97b941b7d0948afd37912af99a63af013db
MD5 88fdaa268ceb44a10cd168bc445168d7
BLAKE2b-256 9563454267e1433e57dd5526dac14c8f5337033204c2870ed124b6087c6a9be8

See more details on using hashes here.

File details

Details for the file eratos_as_api-4.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for eratos_as_api-4.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a36cc4ff3658570c72eb6b411f50169e42f7253f0839ef137c5a37082fd9b84
MD5 29d629c78fe2761b8d7b4b8c45dcd1d0
BLAKE2b-256 7fdf312eae0b93933632a3f042e74a22fa7cbde1d08bce7a82db52e0f5368a89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page