Copy connections before check
This commit is contained in:
parent
050c564fd7
commit
bec210975d
|
@ -34,7 +34,8 @@ class TestAppProto(unittest.TestCase):
|
||||||
|
|
||||||
def _connections(self):
|
def _connections(self):
|
||||||
return [
|
return [
|
||||||
c for c in shared.connections if c.status == 'fully_established']
|
c for c in shared.connections.copy()
|
||||||
|
if c.status == 'fully_established']
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user