[ckan-changes] [okfn/ckan] 3491cd: [#1117] Add new tests for updating user names and ...

GitHub noreply at github.com
Wed Jul 17 17:37:07 UTC 2013


  Branch: refs/heads/1117-start-new-test-suite
  Home:   https://github.com/okfn/ckan
  Commit: 3491cd695ec0c9758586d219c027165256fd7012
      https://github.com/okfn/ckan/commit/3491cd695ec0c9758586d219c027165256fd7012
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-07-17 (Wed, 17 Jul 2013)

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

  Log Message:
  -----------
  [#1117] Add new tests for updating user names and passwords

...and also for what happens when you call user_update without a valid
id.


  Commit: bc3baa951de74a61a96c10c2726b991d7ee88894
      https://github.com/okfn/ckan/commit/bc3baa951de74a61a96c10c2726b991d7ee88894
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-07-17 (Wed, 17 Jul 2013)

  Changed paths:
    M ckan/logic/validators.py

  Log Message:
  -----------
  [#1117] user_update don't crash on non-string name

Don't crash if the user tries to update their user name to a value that
is not a string (which they can do, using the API)


  Commit: f3165ce46cf2c2f16a79013fb23f79bdd821ca90
      https://github.com/okfn/ckan/commit/f3165ce46cf2c2f16a79013fb23f79bdd821ca90
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-07-17 (Wed, 17 Jul 2013)

  Changed paths:
    M ckan/logic/validators.py

  Log Message:
  -----------
  [#1117] user_update: don't crash on non-string password

Fix a crash that happens if the user tries to update their password to a
value that isn't a string (which they can do, using the API)


Compare: https://github.com/okfn/ckan/compare/73308db08242...f3165ce46cf2


More information about the ckan-changes mailing list