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
nosetests --reset-db --nologcapture --with-pylons=test-core-custom.ini ckan/tests/legacy -v | |
No handlers could be found for logger "ckan.lib.uploader" | |
ckan.tests.legacy.setup_test_search_index ... ok | |
Test the error response when a user tries to add a tag to a vocab ... ok | |
ckan.tests.legacy.functional.api.model.test_vocabulary.TestVocabulary.test_add_tag_invalid_name ... ok | |
ckan.tests.legacy.functional.api.model.test_vocabulary.TestVocabulary.test_add_tag_invalid_vocab_id ... ok | |
Test the error response when a user tries to create a tag without ... ok | |
ckan.tests.legacy.functional.api.model.test_vocabulary.TestVocabulary.test_add_tag_not_authorized ... ok | |
ckan.tests.legacy.functional.api.model.test_vocabulary.TestVocabulary.test_add_tag_not_logged_in ... ok | |
Test that a tag can be added to and then retrieved from a vocab. ... ok |
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
diff --git a/.circleci-matrix.yml b/.circleci-matrix.yml | |
index 8e548dc..6141f1e 100644 | |
--- a/.circleci-matrix.yml | |
+++ b/.circleci-matrix.yml | |
@@ -6,4 +6,4 @@ env: | |
command: | |
- mkdir -p $CIRCLE_TEST_REPORTS/nose | |
-- nosetests --ckan --reset-db --with-pylons=test-core.ini --nologcapture --with-coverage --cover-package=ckan --cover-package=ckanext --with-xunit --xunit-file=$CIRCLE_TEST_REPORTS/nose/junit.xml --segments=$SEGMENTS ckan ckanext | |
+- nosetests --ckan --reset-db --with-pylons=test-core.ini --nologcapture --with-coverage --cover-package=ckan --cover-package=ckanext --with-xunit --xunit-file=$CIRCLE_TEST_REPORTS/nose/junit.xml --segments=$SEGMENTS -v ckan ckanext |
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
URL: http://localhost:5001/dataset/period-table-1686523988 | |
File '/home/adria/dev/pyenvs/ckan/local/lib/python2.7/site-packages/weberror/evalexception.py', line 429 in respond | |
app_iter = self.application(environ, detect_start_response) | |
File '/home/adria/dev/pyenvs/ckan/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__ | |
resp = self.call_func(req, *args, **self.kwargs) | |
File '/home/adria/dev/pyenvs/ckan/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func | |
return self.func(req, *args, **kwargs) | |
File '/home/adria/dev/pyenvs/ckan/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__ | |
return request.get_response(self.app) | |
File '/home/adria/dev/pyenvs/ckan/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response |
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
No handlers could be found for logger "ckan.lib.uploader" | |
ckan.tests.config.test_environment.TestDisplayTimezone.test_missing_timezone ... ok | |
ckan.tests.config.test_environment.TestSiteUrlMandatory.test_missing_siteurl ... ok | |
ckan.tests.config.test_environment.TestSiteUrlMandatory.test_siteurl_missing_schema ... ok | |
ckan.tests.config.test_environment.TestSiteUrlMandatory.test_siteurl_removes_backslash ... ok | |
ckan.tests.config.test_environment.TestSiteUrlMandatory.test_siteurl_wrong_schema ... ok | |
CKAN_SQLALCHEMY_URL in the env takes precedence over CKAN_DB ... ok | |
Setting an env var from the whitelist will set the appropriate option ... ok | |
ckan.tests.config.test_middleware.TestAppDispatcher.test_ask_around_flask_core_and_pylons_extension_route ... ok | |
ckan.tests.config.test_middleware.TestAppDispatcher.test_ask_around_flask_core_route_get ... ok |
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
No handlers could be found for logger "ckan.lib.uploader" | |
ckan.tests.config.test_environment.TestDisplayTimezone.test_missing_timezone ... ok | |
ckan.tests.config.test_environment.TestSiteUrlMandatory.test_missing_siteurl ... ok | |
ckan.tests.config.test_environment.TestSiteUrlMandatory.test_siteurl_missing_schema ... ok | |
ckan.tests.config.test_environment.TestSiteUrlMandatory.test_siteurl_removes_backslash ... ok | |
ckan.tests.config.test_environment.TestSiteUrlMandatory.test_siteurl_wrong_schema ... ok | |
CKAN_SQLALCHEMY_URL in the env takes precedence over CKAN_DB ... ERROR | |
Setting an env var from the whitelist will set the appropriate option ... ERROR | |
ckan.tests.config.test_middleware.TestAppDispatcher.test_ask_around_flask_core_and_pylons_extension_route ... ok | |
ckan.tests.config.test_middleware.TestAppDispatcher.test_ask_around_flask_core_route_get ... ok |
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
ag MetaData | |
ckan/model/meta.py | |
8:from sqlalchemy import MetaData, and_ | |
153:metadata = MetaData() | |
ckan/model/__init__.py | |
10:from sqlalchemy import MetaData, __version__ as sqav, Table | |
212: meta.metadata = MetaData(self.metadata.bind) | |
297: meta.metadata = MetaData(self.metadata.bind) |
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
<?xml version="1.0" encoding="utf-8"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title type="text">CKAN</title> | |
<id>http://localhost:5000//feeds/dataset.atom</id> | |
<updated>2017-10-09T08:53:07.825905Z</updated> | |
<link href="http://localhost:5000/dataset" /> | |
<link href="http://localhost:5000/feeds/dataset.atom" rel="self" /> | |
<link href="http://localhost:5000/feeds/dataset.atom" rel="first" /> | |
<link href="http://localhost:5000/feeds/dataset.atom?page=1" rel="last" /> | |
<link href="" rel="previous" /> |
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
<?xml version="1.0"?> | |
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"> | |
<title>CKAN Demo</title> | |
<link href="https://demo.ckan.org/dataset" rel="alternate"/> | |
<link href="https://demo.ckan.org/feeds/dataset.atom" rel="self"/> | |
<id>https://demo.ckan.org//feeds/dataset.atom</id> | |
<updated>2017-10-08T07:37:21Z</updated> | |
<author> | |
<name>ckan-demo</name> | |
<uri>https://demo.ckan.org</uri> |
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
diff --git a/ckan/config/middleware/flask_app.py b/ckan/config/middleware/flask_app.py | |
index 5137b8a..c5b9c80 100644 | |
--- a/ckan/config/middleware/flask_app.py | |
+++ b/ckan/config/middleware/flask_app.py | |
@@ -355,7 +355,9 @@ def _register_core_blueprints(app): | |
def is_blueprint(mm): | |
return isinstance(mm, Blueprint) | |
- for loader, name, _ in pkgutil.iter_modules(['ckan/views'], 'ckan.views.'): | |
+ path = os.path.join(os.path.dirname(__file__), '..', '..', 'views') |
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
diff --git a/ckan/controllers/package.py b/ckan/controllers/package.py | |
index 3f8f1d5..a868dd6 100644 | |
--- a/ckan/controllers/package.py | |
+++ b/ckan/controllers/package.py | |
@@ -295,7 +295,7 @@ class PackageController(base.BaseController): | |
c.query_error = True | |
c.search_facets = {} | |
c.page = h.Page(collection=[]) | |
- c.search_facets_limits = {} | |
+ search_facets_limits = {} |