dump-things-pyclient/dump_things_pyclient/tests/test_basic.py
Christian Monch b412498267 add tests for post-records and get-records
Add tests for post-records that check the
write-interface. Some tests use get-records
to fetch records for validation.

Add the `Document`-class to test schema.
2026-03-10 01:49:04 +01:00

12 lines
241 B
Python

import json
import yaml
from click.testing import CliRunner
from dump_things_pyclient.commands.dtc import cli
def test_dtc_version():
runner = CliRunner()
result = runner.invoke(cli, ['version'])
assert result.exit_code == 0