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.3.0.tar.gz (40.2 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.3.0-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eratos_as_api-4.3.0.tar.gz
Algorithm Hash digest
SHA256 ae11e00a58045ef6b83951753d54a8a6c42d0268728a753e7c51ba3e92f7fe49
MD5 110f6279011ff786bf23b9b9c7b9f211
BLAKE2b-256 3d485ca1cbf1ae1ef56a51c753af8410340dc0ffba3589062b62437bdce4b05b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eratos_as_api-4.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f6ceb08139c799cd78bb33c09b3d5db75e161317f07816157c16b276862a9dd
MD5 7d1503c714cf9309a15e2ab82c631c6e
BLAKE2b-256 1e8c3decec2185a63bf1df1c57c5f65e16626ad0f35b9714f9b9fee79e9fb5aa

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