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 ec4b020 commit b8ce14dCopy full SHA for b8ce14d
test/__init__.py
@@ -740,9 +740,8 @@ def fail_point(self, command_args):
740
try:
741
yield
742
finally:
743
- cmd_off = {'configureFailPoint': cmd_on['configureFailPoint'],
744
- 'mode': 'off'}
745
- self.client.admin.command(cmd_off)
+ self.client.admin.command(
+ 'configureFailPoint', cmd_on['configureFailPoint'], mode='off')
746
747
# Use assertRaisesRegex if available, otherwise use Python 2.7's
748
# deprecated assertRaisesRegexp, with a 'p'.
0 commit comments