Make FakeServer class more reusable, and extract it into its own module.

This commit is contained in:
joo committed 2017-08-22 14:22:12 +01:00
1 parent f1d04e6610
commit 9497aae8fa
3 files changed
+502 -334

No files matched your search

+2
View File
@@ -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)