Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tmishina committed Aug 19, 2020
1 parent 63bb069 commit caf5c12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_common_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def test_free_form_mix(self):
def test_run_command(self):
"""Ensure that run_command works."""
self.assertEqual(run_command(['echo', '-n', 'hello']), ('hello', ''))
self.assertEqual(run_command(['cat'], input='hello'), ('hello', ''))
self.assertEqual(
run_command(['cat'], input_text='hello'), ('hello', '')
)
self.assertRaises(
TimeoutExpired, run_command, ['sleep', '100'], timeout=3
)
Expand Down

0 comments on commit caf5c12

Please sign in to comment.