[ckan-changes] [ckan/ckan] 57cfac: [#1251] Refactor test_create.py

GitHub noreply at github.com
Tue Jul 1 20:19:36 UTC 2014


  Branch: refs/heads/1792-filterable-resource-views
  Home:   https://github.com/ckan/ckan
  Commit: 57cfac2a78d47ec5c70e451a9a8f2e66cac492e7
      https://github.com/ckan/ckan/commit/57cfac2a78d47ec5c70e451a9a8f2e66cac492e7
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M ckan/new_tests/logic/action/test_create.py

  Log Message:
  -----------
  [#1251] Refactor test_create.py

I just changed the test names and modified to call assert_raises instead of
nose.tools.assert_raises.


  Commit: f48e6f2806780d8ce1dc0b775bbb391f91445ccc
      https://github.com/ckan/ckan/commit/f48e6f2806780d8ce1dc0b775bbb391f91445ccc
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M ckan/new_tests/logic/action/test_create.py

  Log Message:
  -----------
  Merge branch '1251-resource-view' into 1792-filterable-resource-views


  Commit: e5e0e156faaaf356eebe19a97290c5efe484a84e
      https://github.com/ckan/ckan/commit/e5e0e156faaaf356eebe19a97290c5efe484a84e
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/logic/converters.py
    M ckan/logic/schema.py
    M ckan/logic/validators.py
    M ckan/new_tests/logic/action/test_create.py

  Log Message:
  -----------
  [#1792] Add filters to the filterable resource view's schemas

We add filter_fields and filter_values fields to their schema, and also convert
them to a single filters dict, to make it easier for the rest of our code.


  Commit: 49036f3d99ce9a7441af8344ef18befbd38516c0
      https://github.com/ckan/ckan/commit/49036f3d99ce9a7441af8344ef18befbd38516c0
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M ckan/logic/schema.py
    M ckan/new_tests/logic/action/test_update.py

  Log Message:
  -----------
  [#1792] Don't require "title" on resource_view_update

We just require the ResourceView's id.


  Commit: ef42941ecc6af634614be189663d7ae8e0764b38
      https://github.com/ckan/ckan/commit/ef42941ecc6af634614be189663d7ae8e0764b38
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/logic/schema.py
    M ckan/new_tests/logic/action/test_update.py

  Log Message:
  -----------
  [#1792] resource_view_update works with filter_fields and filter_values

As added for resource_view_create on e5e0e15, this does the same for
resource_view_update.


Compare: https://github.com/ckan/ckan/compare/d47265ea1966...ef42941ecc6a


More information about the ckan-changes mailing list