def test_doc(self):
        new_route = self.route.doc('FAQ')
        assert new_route != self.route
        assert new_route.route['doc'] == 'FAQ'
        assert new_route.route['transform'] == 'transform'
        assert new_route.route['output'] == 'output'
Converts the content, mimetype pair into a MIME attachment object.
dataset/ETHPy150Open timothycrosley/hug/tests/test_routing.py/TestCLIRouter.test_doc--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/core/mail/message.py/EmailMessage._create_mime_attachment