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:
|
||||
return self
|
||||
|
||||
def wrapped_f():
|
||||
def wrapped_f(*args, **kwargs):
|
||||
self.start()
|
||||
try:
|
||||
f()
|
||||
f(*args, **kwargs)
|
||||
finally:
|
||||
self.stop()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user