[ckan-changes] [okfn/ckan] 4f3416: [#1117] Add mocking to user_update auth tests

GitHub noreply at github.com
Fri Aug 2 10:49:11 UTC 2013


  Branch: refs/heads/1117-start-new-test-suite
  Home:   https://github.com/okfn/ckan
  Commit: 4f341650cb2f6ce173d17434a1fbcb025ff70f46
      https://github.com/okfn/ckan/commit/4f341650cb2f6ce173d17434a1fbcb025ff70f46
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-08-02 (Fri, 02 Aug 2013)

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

  Log Message:
  -----------
  [#1117] Add mocking to user_update auth tests

These tests now run without touching the model.

Also added one extra test case.


  Commit: 081e1262e064d14f887ef121c439adb8507977c9
      https://github.com/okfn/ckan/commit/081e1262e064d14f887ef121c439adb8507977c9
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-08-02 (Fri, 02 Aug 2013)

  Changed paths:
    M ckan/new_tests/helpers.py
    M ckan/new_tests/logic/auth/test_update.py

  Log Message:
  -----------
  [#1117] Move call_auth() into test helpers

Where other auth test modules can use it.

Also add a complete docstring.


  Commit: f61f31910831d76b2dbff875e789ea22c201c822
      https://github.com/okfn/ckan/commit/f61f31910831d76b2dbff875e789ea22c201c822
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-08-02 (Fri, 02 Aug 2013)

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

  Log Message:
  -----------
  [#1117] Check error messages in user_update auth tests


Compare: https://github.com/okfn/ckan/compare/ccc47e015be4...f61f31910831


More information about the ckan-changes mailing list