[ckan-changes] [ckan/ckan] 2014ef: If a test app exists, reset it for each test

GitHub noreply at github.com
Fri Aug 26 10:44:01 UTC 2016


  Branch: refs/heads/release-v2.5.3
  Home:   https://github.com/ckan/ckan
  Commit: 2014ef695fec6f242be012a599273777394bde0c
      https://github.com/ckan/ckan/commit/2014ef695fec6f242be012a599273777394bde0c
  Author: Louis des Landes <ldeslandes at swin.edu.au>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
    M ckan/tests/helpers.py

  Log Message:
  -----------
  If a test app exists, reset it for each test


  Commit: 6d65daee65c4d574058b308a68efe9b38aa6db5b
      https://github.com/ckan/ckan/commit/6d65daee65c4d574058b308a68efe9b38aa6db5b
  Author: Louis des Landes <ldeslandes at swin.edu.au>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
    M ckan/controllers/user.py
    M ckan/tests/controllers/test_user.py

  Log Message:
  -----------
  Fix user log out on username change

Fixes #2394

Conflicts:
	ckan/tests/controllers/test_user.py


  Commit: cb8d2f57d260255316cd0a5190736958a59d203e
      https://github.com/ckan/ckan/commit/cb8d2f57d260255316cd0a5190736958a59d203e
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/tests/test_action.py

  Log Message:
  -----------
  [#2856] Create DataPusher task timestamps using UTC

When an upload to the DataPusher finishes we check
`resource['last_modified']` (in UTC) against `task['last_updated']`
to check whether it changed during the previous upload and resubmit it.
As `task['last_updated']` was created using `datetime.now()` this could
lead to infinite upload loops.

Discussion is here:

https://github.com/ckan/ckan/issues/2856#issuecomment-220383735


Compare: https://github.com/ckan/ckan/compare/582bdd7a90f2...cb8d2f57d260


More information about the ckan-changes mailing list