From: Christopher Allan Webber Date: Sun, 31 Jul 2011 03:15:54 +0000 (-0500) Subject: Updating tests to reflect not having a 'tags_case_sensitive' option. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bc0b10d177253344852cbe4e0dee3048f4206831;p=mediagoblin.git Updating tests to reflect not having a 'tags_case_sensitive' option. I should probably update the tags of things when I change them. --- diff --git a/mediagoblin/tests/test_tags.py b/mediagoblin/tests/test_tags.py index fa6beca9..c2e9fa2b 100644 --- a/mediagoblin/tests/test_tags.py +++ b/mediagoblin/tests/test_tags.py @@ -28,13 +28,6 @@ def test_list_of_dicts_conversion(test_app): function performs the reverse operation when populating a form to edit tags. """ # Leading, trailing, and internal whitespace should be removed and slugified - assert util.convert_to_tag_list_of_dicts('sleep , 6 AM, chainsaw! ') == [ - {'name': u'sleep', 'slug': u'sleep'}, - {'name': u'6 am', 'slug': u'6-am'}, - {'name': u'chainsaw!', 'slug': u'chainsaw'}] - - # Make sure case-sensitivity is retained when desired - mg_globals.app_config['tags_case_sensitive'] = True assert util.convert_to_tag_list_of_dicts('sleep , 6 AM, chainsaw! ') == [ {'name': u'sleep', 'slug': u'sleep'}, {'name': u'6 AM', 'slug': u'6-am'},