def test_build_traceback(self):
        fault = None

        try:
            raise TypeError("Unknown type")
        except __HOLE__:
            fault = amf0.build_fault(include_traceback=True, *sys.exc_info())

        self.assertTrue(isinstance(fault, remoting.ErrorFault))
        self.assertEqual(fault.level, 'error')
        self.assertEqual(fault.code, 'TypeError')
        self.assertTrue("\\n" not in fault.details)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/tests/test_gateway.py/FaultTestCase.test_build_traceback