[ckan-changes] [okfn/ckan] d6b3ea: Fix a test that was failing on the multilingual br...

GitHub noreply at github.com
Wed Apr 18 16:08:57 UTC 2012


  Branch: refs/heads/feature-1821-multilingual-extension
  Home:   https://github.com/okfn/ckan
  Commit: d6b3eaf9f1402b1816521a9f8c1868f193fc9dbf
      https://github.com/okfn/ckan/commit/d6b3eaf9f1402b1816521a9f8c1868f193fc9dbf
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-04-18 (Wed, 18 Apr 2012)

  Changed paths:
    M ckan/tests/lib/test_dictization_schema.py

  Log Message:
  -----------
  Fix a test that was failing on the multilingual branch


diff --git a/ckan/tests/lib/test_dictization_schema.py b/ckan/tests/lib/test_dictization_schema.py
index ca7c018..a004b1e 100644
--- a/ckan/tests/lib/test_dictization_schema.py
+++ b/ckan/tests/lib/test_dictization_schema.py
@@ -94,12 +94,9 @@ def test_1_package_schema(self):
                                                 'hash': u'def456',
                                                 'size_extra': u'345',
                                                 'url': u'http://www.annakarenina.com/index.json'}],
-                                 'tags': [{'name': u'Flexible \u30a1',
-                                           'display_name': u'Flexible \u30a1'},
-                                          {'name': u'russian',
-                                           'display_name': u'russian'},
-                                          {'name': u'tolstoy',
-                                           'display_name': u'tolstoy'}],
+                                 'tags': [{'name': u'Flexible \u30a1'},
+                                          {'name': u'russian'},
+                                          {'name': u'tolstoy'}],
                                  'title': u'A Novel By Tolstoy',
                                  'url': u'http://www.annakarenina.com',
                                  'version': u'0.7a'}, pformat(converted_data)


================================================================



More information about the ckan-changes mailing list