Update xray client to forward args (#4709)
This commit is contained in:
parent
ce9fb90663
commit
0bc45963da
@ -46,10 +46,10 @@ class MockXrayClient:
|
|||||||
if not f:
|
if not f:
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def wrapped_f():
|
def wrapped_f(*args, **kwargs):
|
||||||
self.start()
|
self.start()
|
||||||
try:
|
try:
|
||||||
f()
|
f(*args, **kwargs)
|
||||||
finally:
|
finally:
|
||||||
self.stop()
|
self.stop()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user