[ckan-changes] [ckan/ckan] 040b9f: Refactor AppDispatcher tests

GitHub noreply at github.com
Fri Aug 5 11:14:26 UTC 2016


  Branch: refs/heads/poc-flask-views
  Home:   https://github.com/ckan/ckan
  Commit: 040b9f1b4a1008dfb687427fc3282c02674c054b
      https://github.com/ckan/ckan/commit/040b9f1b4a1008dfb687427fc3282c02674c054b
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-05 (Fri, 05 Aug 2016)

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

  Log Message:
  -----------
  Refactor AppDispatcher tests

With the changes in how the environment is initialized after the config
refactor, it is much safer if each test creates a separate instance of
the test app. Also the test app needs to be created *before* any
additional plugins are loaded.


  Commit: fe2d2ace23cc8c94a100938b1a4119993365caa7
      https://github.com/ckan/ckan/commit/fe2d2ace23cc8c94a100938b1a4119993365caa7
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-05 (Fri, 05 Aug 2016)

  Changed paths:
    M ckan/tests/logic/action/test_create.py
    M ckanext/example_flask_iblueprint/tests/test_routes.py

  Log Message:
  -----------
  Fix a few more tests

These needed updating after changes in master


Compare: https://github.com/ckan/ckan/compare/0e1a1f264524...fe2d2ace23cc


More information about the ckan-changes mailing list