We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c50bb11 commit 05a237eCopy full SHA for 05a237e
test/utils.py
@@ -20,6 +20,7 @@
20
import copy
21
import functools
22
import os
23
+import random
24
import re
25
import shutil
26
import sys
@@ -309,6 +310,7 @@ class MockConnection:
309
310
def __init__(self):
311
self.cancel_context = _CancellationContext()
312
self.more_to_come = False
313
+ self.id = random.randint(0, 100)
314
315
def close_conn(self, reason):
316
pass
0 commit comments