[ckan-changes] [ckan/ckan] 1245ff: [#1767] Fix bug with send_email_notifications not ...

GitHub noreply at github.com
Mon Jun 16 21:32:08 UTC 2014


  Branch: refs/heads/1767-send-email-notifications-with-paster
  Home:   https://github.com/ckan/ckan
  Commit: 1245ff21f24ff424bfde3fef76e47f4ece3e385f
      https://github.com/ckan/ckan/commit/1245ff21f24ff424bfde3fef76e47f4ece3e385f
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-06-16 (Mon, 16 Jun 2014)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/new_tests/logic/action/test_update.py

  Log Message:
  -----------
  [#1767] Fix bug with send_email_notifications not working with paster

The problem is that our validators notice that .send_email_notifications()
didn't call its auth functions and raise an Exception. But it shouldn't call
it's auth functions when being called with paster anyway, so it's correct.

This fixes that.


  Commit: 45c1d4e88acfbe9471e4848ab43400d60a136fe2
      https://github.com/ckan/ckan/commit/45c1d4e88acfbe9471e4848ab43400d60a136fe2
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-06-16 (Mon, 16 Jun 2014)

  Changed paths:
    M ckan/new_tests/logic/action/test_update.py

  Log Message:
  -----------
  Use assert_raises instead of the full nose.tools.assert_raises


Compare: https://github.com/ckan/ckan/compare/1245ff21f24f^...45c1d4e88acf


More information about the ckan-changes mailing list