Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CKAN 2.9 with Python 3 #98

Merged
merged 20 commits into from
Jul 9, 2021
Merged

Support CKAN 2.9 with Python 3 #98

merged 20 commits into from
Jul 9, 2021

Conversation

adborden
Copy link

@github-actions
Copy link

github-actions bot commented Jun 2, 2021

✅ Result of Pytest Coverage

---------- coverage: platform linux2, python 2.7.18-final-0 ----------

Name Stmts Miss Cover
ckanext/datajson/datajson_ckan_28.py 417 118 72%
ckanext/datajson/exceptions.py 2 0 100%
ckanext/datajson/harvester_base.py 4 0 100%
ckanext/datajson/harvester_datajson.py 46 13 72%
ckanext/datajson/helpers.py 117 44 62%
ckanext/datajson/package2pod.py 305 180 41%
ckanext/datajson/parse_datajson.py 94 21 78%
ckanext/datajson/plugin.py 238 97 59%
ckanext/datajson/tests/init.py 0 0 100%
ckanext/datajson/tests/factories.py 68 19 72%
ckanext/datajson/tests/mock_datajson_source.py 75 2 97%
ckanext/datajson/tests/test_collections_ui.py 101 8 92%
ckanext/datajson/tests/test_datajson_ckan_28_harvester.py 330 23 93%
ckanext/datajson/tests/test_datajson_ckan_all_harvester.py 171 8 95%
ckanext/datajson/tests/test_export.py 63 2 97%
TOTAL 2031 535 74%
Required test coverage of
================== 24 passed, 1449

jbrown-xentity and others added 6 commits June 2, 2021 16:24
Clean up various test and configuration options
otherwise it used root and gives error
somehow this is not working for us
config['ckanext.datajson.inventory_links_enabled'] = "True"
@mogul mogul merged commit 5781877 into main Jul 9, 2021
@mogul mogul deleted the feature/py3 branch July 9, 2021 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants