

def testMethodNotFound(self):
    '\n        Check that a non existing method return error 500.\n        '
    d = self.proxy().callRemote('doesntexist')
    self.assertFailure(d, error.Error)

    def cb(err):
        self.assertEquals(int(err.status), 500)
    d.addCallback(cb)
    return d

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_soap.py SOAPTestCase.testMethodNotFound/original