From bc0b10d177253344852cbe4e0dee3048f4206831 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 30 Jul 2011 22:15:54 -0500 Subject: [PATCH] Updating tests to reflect not having a 'tags_case_sensitive' option. I should probably update the tags of things when I change them. --- mediagoblin/tests/test_tags.py | 7 ------- 1 file changed, 7 deletions(-) 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'}, -- 2.25.1