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.
12 lines
241 B
Python
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
|