Skip to content

Commit

Permalink
mocker is not intended as a context manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexamici committed Apr 3, 2016
1 parent a1a0667 commit d28cade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

def test_eio_selfcheck(mocker):
runner = click.testing.CliRunner()
mocker.patch('subprocess.check_output'):
mocker.patch('subprocess.check_output')
result = runner.invoke(cli.selfcheck)
assert not result.exception
assert subprocess.check_output.call_count == 5
Expand Down

0 comments on commit d28cade

Please sign in to comment.