[ckan-changes] [ckan/ckan] eb7231: Refactor user identify tests to use app_context

GitHub noreply at github.com
Tue Jun 14 11:51:18 UTC 2016


  Branch: refs/heads/poc-flask-views.common-url_for-take-2
  Home:   https://github.com/ckan/ckan
  Commit: eb7231297e70627a5bc7de4b8b6093cbbba975c5
      https://github.com/ckan/ckan/commit/eb7231297e70627a5bc7de4b8b6093cbbba975c5
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-10 (Fri, 10 Jun 2016)

  Changed paths:
    M ckan/tests/config/test_middleware.py

  Log Message:
  -----------
  Refactor user identify tests to use app_context

Don't need to use a full test request context, so push an app_context.


  Commit: b37298b79b6d32480ede4a8b98e1388d3de3e5e1
      https://github.com/ckan/ckan/commit/b37298b79b6d32480ede4a8b98e1388d3de3e5e1
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M ckan/tests/helpers.py
    M setup.py

  Log Message:
  -----------
  Add a simple flask plugin for testing.

A simple flask extension with a route guaranteed to come from Flask.


  Commit: 7995561e844409d1d778d80c2d147d12984ac632
      https://github.com/ckan/ckan/commit/7995561e844409d1d778d80c2d147d12984ac632
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M ckan/tests/config/test_middleware.py

  Log Message:
  -----------
  Use SimpleFlaskPlugin test extension in middleware tests


  Commit: 77a436eb169adf5e076ef41027b3085b3f63a776
      https://github.com/ckan/ckan/commit/77a436eb169adf5e076ef41027b3085b3f63a776
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M ckan/config/middleware/flask_app.py
    M ckan/lib/base.py
    M ckan/tests/lib/test_base.py
    M ckan/views/__init__.py
    M ckan/views/api.py

  Log Message:
  -----------
  CORS headers added to Flask responses.

The method to set CORS headers moved to `views` module and CKAN core
refactored to import and use it.


  Commit: 126792a3a83821a035b7ee7090a80ac7d6323a99
      https://github.com/ckan/ckan/commit/126792a3a83821a035b7ee7090a80ac7d6323a99
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M ckan/config/middleware/flask_app.py
    M ckan/lib/base.py
    M ckan/tests/config/test_middleware.py
    M ckan/tests/helpers.py
    M ckan/tests/lib/test_base.py
    M ckan/views/__init__.py
    M ckan/views/api.py
    M setup.py

  Log Message:
  -----------
  Merge branch 'poc-flask-views' into poc-flask-views.common-url_for-take-2

Conflicts:
	ckan/lib/base.py


Compare: https://github.com/ckan/ckan/compare/6664c82ba5d4...126792a3a838


More information about the ckan-changes mailing list