-
Notifications
You must be signed in to change notification settings - Fork 1
Tests/update tests for ckan 2.11 python 3 #117
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
Merged
bellisk
merged 8 commits into
feat/upgrade_to_py3
from
tests/update-tests-for-ckan-2.11-python-3
Jul 31, 2025
Merged
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1d0ee20
tests: Update github workflow test.yml
bellisk 59bc45f
tests: Update tests for CKAN 2.11 and Python 3
bellisk 5230ac4
fix: Update check for values that are nested in a list
bellisk e13378f
tests: Update tests for CKAN 2.11 and Python 3
bellisk 9113691
feat: Temporarily ignore three too-complex methods
bellisk 80087c3
tests: Update tests for CKAN 2.11 and Python 3
bellisk 8468bf9
tests: Rewrite path to test-core.ini in test.ini
bellisk 784c54a
tests: Don't measure test coverage of tests
bellisk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently in Python 3, strings also have the
__iter__
attribute. We need to really check whether the value is a list, not check for this attribute, or we won't correctly wrap a string value in a list (in the next line) and we'll end up iterating over it letter by letter.I think there aren't any other kinds of iterable that we could get as a value here, only a list or a string, so this should be enough of a check here.