Unit tests for opening-saving YAML #19
Annotations
6 errors
|
test-on-pr
Process completed with exit code 1.
|
|
test-on-pr:
tests\test_yaml_save.py#L130
test_open_file_validate_ui_data_save_file[sample_yaml3]
AssertionError: YAML data changed after saving: 'geopython_pygeoapi_@5ed31b4_pygeoapi-test-config-ogr.yml'.
Added: 0 fields, changed: 0 fields, removed: 12 fields.
assert False
|
|
test-on-pr:
tests\test_yaml_save.py#L130
test_open_file_validate_ui_data_save_file[sample_yaml2]
AssertionError: YAML data changed after saving: 'geopython_pygeoapi_@5ed31b4_pygeoapi-config.yml'.
Added: 0 fields, changed: 0 fields, removed: 2 fields.
assert False
|
|
test-on-pr:
tests\test_yaml_save.py#L130
test_open_file_validate_ui_data_save_file[sample_yaml1]
AssertionError: YAML data changed after saving: 'geopython_pygeoapi_@5ed31b4_default.config.yml'.
Added: 0 fields, changed: 0 fields, removed: 18 fields.
assert False
|
|
test-on-pr:
tests\test_yaml_save.py#L130
test_open_file_validate_ui_data_save_file[sample_yaml0]
AssertionError: YAML data changed after saving: 'geopython_pygeoapi_@5ed31b4_cite.config.yml'.
Added: 0 fields, changed: 0 fields, removed: 4 fields.
assert False
|
|
test-on-pr:
tests\test_yaml_save.py#L59
test_json_schema_on_open_save[sample_yaml1]
AssertionError: Validation failed:
, 'saved_geopython_pygeoapi_@5ed31b4_default.config.yml', Schema validation errors were encountered.
D:\a\pygeoapi_config\pygeoapi_config\tests\yaml_samples\saved_geopython_pygeoapi_@5ed31b4_default.config.yml::$.server.admin: '${PYGEOAPI_SERVER_ADMIN:-false}' is not of type 'boolean'
assert 1 == 0
+ where 1 = CompletedProcess(args=['check-jsonschema', '--verbose', '--schemafile', 'https://raw.githubusercontent.com/geopython/p..._@5ed31b4_default.config.yml::$.server.admin: '${PYGEOAPI_SERVER_ADMIN:-false}' is not of type 'boolean'\n", stderr='').returncode
|