Skip to content

Commit

Permalink
Update help blurb tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joguSD committed Nov 21, 2017
1 parent 9789410 commit 2d5b08c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_clidriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,12 +663,12 @@ def test_help_blurb_in_service_error_message(self):

def test_help_blurb_in_operation_error_message(self):
with self.assertRaises(SystemExit):
self.driver.main(['ec2', 'run-instances'])
self.driver.main(['s3api', 'list-objects'])
self.assertIn(HELP_BLURB, self.stderr.getvalue())

def test_help_blurb_in_unknown_argument_error_message(self):
with self.assertRaises(SystemExit):
self.driver.main(['ec2', 'run-instances', '--help'])
self.driver.main(['s3api', 'list-objects', '--help'])
self.assertIn(HELP_BLURB, self.stderr.getvalue())


Expand Down

0 comments on commit 2d5b08c

Please sign in to comment.