Make FakeServer class more reusable, and extract it into its own module.
This commit is contained in:
1 parent
f1d04e6610
commit
9497aae8fa
3 files changed
+502
-334
No files matched your search
@@ -352,6 +352,8 @@ class Connection(object):
|
||||
if self.reactor.handle_exception(exc, exc_info):
|
||||
return
|
||||
|
||||
self.disconnect()
|
||||
|
||||
self.exception, self.exc_info = exc, exc_info
|
||||
if self.handle_exception is None:
|
||||
raise_(*exc_info)
|
||||
|
||||
Reference in new issue
Block a user