[ckan-changes] [okfn/ckan] da1a86: [#299] Clear test data after each test is run

GitHub noreply at github.com
Mon Jan 28 19:00:39 UTC 2013


  Branch: refs/heads/290-run-all-core-extension-tests
  Home:   https://github.com/okfn/ckan
  Commit: da1a867140e094408182c80ac7cef9c6fdb30fe9
      https://github.com/okfn/ckan/commit/da1a867140e094408182c80ac7cef9c6fdb30fe9
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M ckanext/jsonpreview/tests/test_preview.py
    M ckanext/pdfpreview/tests/test_preview.py
    M ckanext/reclinepreview/tests/test_preview.py
    M ckanext/stats/tests/test_stats_lib.py

  Log Message:
  -----------
  [#299] Clear test data after each test is run

This might not be the best way to do it. It's too repetitive, but it's
better than leaving trash behind.

We might investigate running the tests inside a transaction, and rolling
back when we're done (is it done already?).

Conflicts:
	ckanext/jsonpreview/tests/test_preview.py
	ckanext/pdfpreview/tests/test_preview.py
	ckanext/reclinepreview/tests/test_preview.py


  Commit: a921758e09313f6d2f3f760bf1465808c51cb0a9
      https://github.com/okfn/ckan/commit/a921758e09313f6d2f3f760bf1465808c51cb0a9
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  [#290] Remove datastore_active from results we got from resource_show in a test because datastore_active is not added to the original model


Compare: https://github.com/okfn/ckan/compare/36ae3f9a217c...a921758e0931


More information about the ckan-changes mailing list