Skip to content
Snippets Groups Projects
Commit b8d88940 authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Add client, models and tests

Introduces SetraClient. The client is made
for use against the SETRA(SEntralt TRAnsaksjonslager) API.

There are models for Batch, Voucher, Transaction and Multi, where Multi is
a combination of the preceding, The Multi model validates that the batchid
of the voucher matches the batch included, and that the voucherid of the
transactions matches one of the included vouchers.

Tests have also been included for the client itself, the endpoints, and
the models.

Configuration for tox, Jenkins and gitlab-ci are included for running
tests and building the client.
parent 6d0aec4a
No related branches found
No related tags found
No related merge requests found
Pipeline #17827 failed
Showing
with 826 additions and 1 deletion
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment