Copy connections before check

This commit is contained in:
Lee Miller 2023-03-15 14:25:12 +02:00
parent 354c975b40
commit 45dc9ed376
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

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