even more explicit

This commit is contained in:
meejah 2021-04-14 15:11:38 -06:00
parent 5a405443b9
commit 0db8ed3225

View File

@ -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):