

def _lostConnectionInTest(self, state_string):
    error_string = (_u("lost connection during %stest '%s'") % (state_string, self.current_test_description))
    self.client.addError(self._current_test, RemoteError(error_string))
    self.client.stopTest(self._current_test)

dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/__init__.py TestProtocolServer._lostConnectionInTest/original