pip install git+https://github.com/kit-sdq/artemis_client@main
The client can be configured either by configuration file or by environment variables.
- Provide a file 'config.ini' in the working directory
- Provide a file 'config.ini' in a custom directory and set ARTEMIS_CLIENT_CONFIG environment variable accordingly
- Provide all configuration options as environment variables (SECTION_KEY)
- Supply username and password using the
Session
constructor
Values found in environment variables are preferred over configuration files. That can be used to provide credentials in a testing environment, for example.
This project uses poetry:
poetry install
poetry run tox # thats all
This project uses the "Tests outside application code" layout presented here (sources in src folder).
You can build the documentation using sphinx:
poetry run tox -e docs
The docs can then be found in .tox/docs_out