even more explicit
This commit is contained in:
parent
5a405443b9
commit
0db8ed3225
|
@ -34,9 +34,6 @@ def handshake(token, side=None):
|
||||||
return hs
|
return hs
|
||||||
|
|
||||||
class _Transit:
|
class _Transit:
|
||||||
def new_protocol(self):
|
|
||||||
return self.new_protocol_tcp()
|
|
||||||
|
|
||||||
def count(self):
|
def count(self):
|
||||||
return sum([
|
return sum([
|
||||||
len(potentials)
|
len(potentials)
|
||||||
|
@ -359,10 +356,16 @@ class _Transit:
|
||||||
class TransitWithLogs(_Transit, ServerBase, unittest.TestCase):
|
class TransitWithLogs(_Transit, ServerBase, unittest.TestCase):
|
||||||
log_requests = True
|
log_requests = True
|
||||||
|
|
||||||
|
def new_protocol(self):
|
||||||
|
return self.new_protocol_tcp()
|
||||||
|
|
||||||
|
|
||||||
class TransitWithoutLogs(_Transit, ServerBase, unittest.TestCase):
|
class TransitWithoutLogs(_Transit, ServerBase, unittest.TestCase):
|
||||||
log_requests = False
|
log_requests = False
|
||||||
|
|
||||||
|
def new_protocol(self):
|
||||||
|
return self.new_protocol_tcp()
|
||||||
|
|
||||||
|
|
||||||
class TransitWebSockets(_Transit, ServerBase, unittest.TestCase):
|
class TransitWebSockets(_Transit, ServerBase, unittest.TestCase):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user