[ckan-changes] [ckan/ckan] 2db141: [#1505] Remove assertions that group_member_create...

GitHub noreply at github.com
Tue Apr 8 18:50:03 UTC 2014


  Branch: refs/heads/1505-invite-to-organization-causes-error
  Home:   https://github.com/ckan/ckan
  Commit: 2db1410339f0e27018d3efa93187d525ab16537a
      https://github.com/ckan/ckan/commit/2db1410339f0e27018d3efa93187d525ab16537a
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-04-08 (Tue, 08 Apr 2014)

  Changed paths:
    M ckan/new_tests/logic/auth/test_create.py

  Log Message:
  -----------
  [#1505] Remove assertions that group_member_create was called in the tests

If user_invite fails when group_member_create fails, and succeeds when
group_member_create succeeds, there's no need to assert that
group_member_create was actually called.


  Commit: 3f67f5ce7413ccd081937d650b6099efd94889ef
      https://github.com/ckan/ckan/commit/3f67f5ce7413ccd081937d650b6099efd94889ef
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-04-08 (Tue, 08 Apr 2014)

  Changed paths:
    M ckan/new_tests/factories.py

  Log Message:
  -----------
  [#1505] Instead of accessing and then deleting an attribute, simply pop() it.


Compare: https://github.com/ckan/ckan/compare/b05744b2c1bd...3f67f5ce7413


More information about the ckan-changes mailing list