Skip to content

Commit

Permalink
fixup! Fix #168: Remove support for lint --ignore-local
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders authored and jgraham committed Feb 22, 2017
1 parent 5b1bf3b commit 0bceacb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lint/tests/test_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def test_main_with_args():
orig_argv = sys.argv
try:
sys.argv = ['./lint', 'a', 'b', 'c']
with _mock_lint("lint") as m:
with _mock_lint('lint', return_value=True) as m:
lint_mod.main()
m.assert_called_once_with(repo_root, ['a', 'b', 'c'], False, False)
finally:
Expand All @@ -201,7 +201,7 @@ def test_main_no_args():
orig_argv = sys.argv
try:
sys.argv = ['./lint']
with _mock_lint('lint') as m:
with _mock_lint('lint', return_value=True) as m:
with _mock_lint('all_filesystem_paths', return_value=['foo', 'bar']) as m2:
lint_mod.main()
m.assert_called_once_with(repo_root, ['foo', 'bar'], False, False)
Expand Down

0 comments on commit 0bceacb

Please sign in to comment.