Skip to content

Commit

Permalink
Switch service in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
joguSD committed Feb 20, 2018
1 parent fa3da33 commit 00035c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/customizations/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_rename_command_table(self):
class TestCommandTableAlias(BaseAWSHelpOutputTest):

def test_alias_command_table(self):
old_name = 'ec2'
old_name = 'alexaforbusiness'
new_name = 'nopossiblewaythisisalreadythere'

def handler(command_table, **kwargs):
Expand All @@ -58,7 +58,7 @@ def handler(command_table, **kwargs):
self.assert_not_contains(old_name)

def test_make_hidden_alias(self):
old_name = 'ec2'
old_name = 'alexaforbusiness'
new_name = 'nopossiblewaythisisalreadythere'

def handler(command_table, **kwargs):
Expand All @@ -79,8 +79,8 @@ def _assert_command_exists(self, command_name, handler):
self.assert_contains(command_name)

# We can also see subcommands help as well.
self.driver.main([command_name, 'run-instances', 'help'])
self.assert_contains('run-instances')
self.driver.main([command_name, 'get-room', 'help'])
self.assert_contains('get-room')


class TestHiddenAlias(unittest.TestCase):
Expand Down

0 comments on commit 00035c7

Please sign in to comment.