Updating tests to reflect not having a 'tags_case_sensitive' option.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 31 Jul 2011 03:15:54 +0000 (22:15 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 31 Jul 2011 03:15:54 +0000 (22:15 -0500)
I should probably update the tags of things when I change them.

mediagoblin/tests/test_tags.py

index fa6beca999a15d6969ece3e2396600b5e9e3ca24..c2e9fa2b180ef33fa99daaff8cc985be162637cb 100644 (file)
@@ -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'},