Esempio n. 1
0
 def test_tag_description_no_description(self):
     settings.TAG_DESCRIPTIONS = {
         "tag_name": "test_tag",
         "title": "Testing tag without description"
     }
     description = tag_description("test_tag")
     eq_("test_tag", description)
Esempio n. 2
0
 def test_tag_description_no_description(self):
     settings.TAG_DESCRIPTIONS = {"tag_name": "test_tag",
              "title": "Testing tag without description"}
     description = tag_description("test_tag")
     eq_("test_tag", description)
Esempio n. 3
0
 def test_tag_description_challenge_none(self):
     tag = 'challenge:none'
     description = tag_description(tag)
     eq_('Removed from Derby', description)
Esempio n. 4
0
 def test_tag_description_challenge_none(self):
     tag = 'challenge:none'
     description = tag_description(tag)
     eq_('Removed from Derby', description)