<s> import sys <EOL> from mock import patch <EOL> from test_helper import * <EOL> from azurectl . help import Help <EOL> from azurectl . azurectl_exceptions import * <EOL> class TestHelp : <EOL> def setup ( self ) : <EOL> self . help = Help ( ) <EOL> @ raises ( AzureHelpNoCommandGiven ) <EOL> def test_show ( self ) : <EOL> self . help . show ( None ) <EOL> @ patch ( '<STR_LIT>' ) <EOL> def test_show_command ( self , mock_process ) : <EOL> self . help . show ( '<STR_LIT:foo>' ) <EOL> mock_process . assert_called_once_with ( '<STR_LIT>' , shell = True ) </s>
