Skip to content

Commit

Permalink
test bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed May 9, 2022
1 parent 327c4ce commit 1f5276b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/analysis/linter/test/test_ruby_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@


def test_do_analysis(monkeypatch):
monkeypatch.setattr('plugins.analysis.linter.internal.linters.subprocess.run', lambda *_, **__: CompletedProcess('args', 0, stdout=MOCK_RESPONSE))
monkeypatch.setattr(
'plugins.analysis.linter.internal.linters.run_docker_container',
lambda *_, **__: CompletedProcess('args', 0, stdout=MOCK_RESPONSE)
)
result = run_rubocop('any/path')

assert len(result) == 1
Expand Down

0 comments on commit 1f5276b

Please sign in to comment.