[ckan-changes] [okfn/ckan] 0bcc61: Remove an unused import

noreply at github.com noreply at github.com
Tue Jan 3 14:44:04 UTC 2012


  Branch: refs/heads/feature-1515-activity-streams
  Home:   https://github.com/okfn/ckan

  Commit: 0bcc61d887f10eaca70a7add8a71801692bedc2f
      https://github.com/okfn/ckan/commit/0bcc61d887f10eaca70a7add8a71801692bedc2f
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M ckan/tests/models/test_activity.py

  Log Message:
  -----------
  Remove an unused import


  Commit: 830d45335ba77f9f0591b253baa0d4f1caddceff
      https://github.com/okfn/ckan/commit/830d45335ba77f9f0591b253baa0d4f1caddceff
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-01-02 (Mon, 02 Jan 2012)

  Changed paths:
    M ckan/tests/models/test_activity.py

  Log Message:
  -----------
  Get rid of some unused variables


  Commit: d24fc787b0c921aedb54ff68b2ec23e894acd503
      https://github.com/okfn/ckan/commit/d24fc787b0c921aedb54ff68b2ec23e894acd503
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-01-03 (Tue, 03 Jan 2012)

  Changed paths:
    M ckan/tests/models/test_activity.py

  Log Message:
  -----------
  Use activity_show() logic function in test cases

In ckan.tests.models.test_activity.py use
ckan.logic.action.get.py:activity_show() whenever we need to get an
activity stream, instead of accessing the model directly.

This means that the activity_show() logic function is now tested
thoroughly.


Compare: https://github.com/okfn/ckan/compare/3d328aa...d24fc78




More information about the ckan-changes mailing list