def test_completion_alone(script):
 result = script.pip('completion', expect_error=True)
 assert ('ERROR: You must pass --bash or --fish or --zsh' in result.stderr), ('completion alone failed -- ' + result.stderr)

def test_completion_alone ( script ) : result = script . pip ( 'completion' , expect_error = True ) assert ( 'ERROR: You must pass --bash or --fish or --zsh' in result . stderr ) , ( 'completion alone failed -- ' + result . stderr )
test getting completion for none shell .