<s> from django . test import TestCase <EOL> from hc . api . models import Check <EOL> class CheckModelTestCase ( TestCase ) : <EOL> def test_it_strips_tags ( self ) : <EOL> check = Check ( ) <EOL> check . tags = "<STR_LIT>" <EOL> self . assertEquals ( check . tags_list ( ) , [ "<STR_LIT:foo>" , "<STR_LIT:bar>" ] ) <EOL> check . tags = "<STR_LIT:U+0020>" <EOL> self . assertEquals ( check . tags_list ( ) , [ ] ) </s>
