[ckan-changes] [ckan/ckan] 3e1485: [#1386] Fix _get_action_user_name() docs, as we re...

GitHub noreply at github.com
Tue Apr 15 22:59:29 UTC 2014


  Branch: refs/heads/1386-improve-factories
  Home:   https://github.com/ckan/ckan
  Commit: 3e14850edd94cad7e8a299cea6334098223e4e82
      https://github.com/ckan/ckan/commit/3e14850edd94cad7e8a299cea6334098223e4e82
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-04-15 (Tue, 15 Apr 2014)

  Changed paths:
    M ckan/new_tests/factories.py

  Log Message:
  -----------
  [#1386] Fix _get_action_user_name() docs, as we renamed auth_user -> user


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

  Changed paths:
    M ckan/new_tests/factories.py
    M ckan/new_tests/test_factories.py

  Log Message:
  -----------
  [#1386] Fix bug where the dataset factory didn't allow to use anonymous user


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

  Changed paths:
    M ckan/new_tests/factories.py

  Log Message:
  -----------
  [#1386] Simplify docs for _get_action_user_name()

The documentation on how to create, for example, a Dataset with an specific
user is specific to the Dataset factory. The same can be said for any factory
that allows an user.

It would be good to use the same pattern (passing a user dict as "user" to the
factory) in all factories.


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

  Changed paths:
    M ckan/new_tests/factories.py

  Log Message:
  -----------
  [#1386] Use a unique name for each created Resource


Compare: https://github.com/ckan/ckan/compare/b7ffdf299e45...da028ac32514


More information about the ckan-changes mailing list