Skip to content

Commit

Permalink
Rename legacy example file
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Oct 23, 2024
1 parent ef26fb9 commit 8694b42
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckanext/dcat/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_produce(cli):
"..",
"examples",
"ckan",
"full_ckan_dataset.json",
"full_ckan_dataset_legacy.json",
)

result = cli.invoke(dcat_cli, ["produce", "-f", "jsonld", path])
Expand Down
2 changes: 1 addition & 1 deletion ckanext/dcat/tests/test_converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _get_lines(d):
if l.startswith(('-', '+'))])

def test_ckan_to_dcat():
ckan_dict =_get_file_as_dict('ckan/full_ckan_dataset.json')
ckan_dict =_get_file_as_dict('ckan/full_ckan_dataset_legacy.json')
expected_dcat_dict =_get_file_as_dict('ckan/dataset.json')

dcat_dict = converters.ckan_to_dcat(ckan_dict)
Expand Down
File renamed without changes.

0 comments on commit 8694b42

Please sign in to comment.