Copy connections before check
This commit is contained in:
parent
354c975b40
commit
45dc9ed376
|
@ -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