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