[ckan-changes] [ckan/ckan] 4f59da: Update factory and related tests

GitHub noreply at github.com
Fri Jan 31 04:48:48 UTC 2014


  Branch: refs/heads/related-list-tests
  Home:   https://github.com/ckan/ckan
  Commit: 4f59da03d62b1c8f0e1a024949a99ba0046ca44c
      https://github.com/ckan/ckan/commit/4f59da03d62b1c8f0e1a024949a99ba0046ca44c
  Author: Nigel Babu <nigel.babu at okfn.org>
  Date:   2014-01-30 (Thu, 30 Jan 2014)

  Changed paths:
    M ckan/new_tests/factories.py
    M ckan/new_tests/logic/action/test_get.py

  Log Message:
  -----------
  Update factory and related tests

* Delete unnecessary comments from factory.
* Change related factory to accept user parameter.
* Add better docstrings and comments to the related tests.
* Add test to check for invalid sort option.




More information about the ckan-changes mailing list