MCPcopy Create free account
hub / github.com/apache/thrift / testException

Method testException

test/py.twisted/test_suite.py:77–81  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

75 return thing
76
77 def testException(self, s):
78 if s == 'Xception':
79 raise Xception(1001, s)
80 elif s == "throw_undeclared":
81 raise ValueError("foo")
82
83 def testOneway(self, seconds):
84 def fireOneway(t):

Callers 1

testExceptionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected