Skip to content

Commit

Permalink
Allow multiple parameters on MockChild context
Browse files Browse the repository at this point in the history
  • Loading branch information
aristizabal95 committed Jul 28, 2023
1 parent c3cb787 commit 7b2748b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/medperf/tests/mocks/pexpect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ class MockChild:
def __init__(self, exitstatus):
self.exitstatus = exitstatus

def __enter__(self):
def __enter__(self, *args, **kwargs):
pass

def __exit__(self):
def __exit__(self, *args, **kwargs):
self.close()

def isalive(self):
Expand Down

0 comments on commit 7b2748b

Please sign in to comment.