| Index: gslib/tests/test_help.py
|
| ===================================================================
|
| --- gslib/tests/test_help.py (revision 33376)
|
| +++ gslib/tests/test_help.py (working copy)
|
| @@ -1,3 +1,4 @@
|
| +# -*- coding: utf-8 -*-
|
| # Copyright 2013 Google Inc. All Rights Reserved.
|
| #
|
| # Permission is hereby granted, free of charge, to any person obtaining a
|
| @@ -18,9 +19,10 @@
|
| # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
| # IN THE SOFTWARE.
|
| -
|
| """Unit tests for help command."""
|
|
|
| +from __future__ import absolute_import
|
| +
|
| import gslib.tests.testcase as testcase
|
|
|
|
|
| @@ -30,7 +32,7 @@
|
| def test_help_noargs(self):
|
| stdout = self.RunCommand('help', return_stdout=True)
|
| self.assertIn('Available commands', stdout)
|
| -
|
| +
|
| def test_help_subcommand_arg(self):
|
| stdout = self.RunCommand('help', ['web', 'set'], return_stdout=True)
|
| self.assertIn('gsutil web set', stdout)
|
|
|