def test_thing_taggable_some_tags(self):
     thing = ThingFactory()
     thing.tags.add(TagFactory())
     thing.tags.add(TagFactory())
     thing.tags.add(TagFactory())
     tags = thing.get_tag_names()
     self.assertEqual(3, tags.count())
     tags_list = list(tags)
     self.assertEqual(['tag1', 'tag2', 'tag3'], tags_list)
 def test_thing_taggable_no_tags(self):
     thing = ThingFactory()
     tags = thing.get_tag_names()
     self.assertEqual(0, tags.count())