Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Unified Diff: gslib/tests/test_gsutil.py

Issue 698893003: Update checked in version of gsutil to version 4.6 (Closed) Base URL: http://dart.googlecode.com/svn/third_party/gsutil/
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gslib/tests/test_file_part.py ('k') | gslib/tests/test_hash.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gslib/tests/test_gsutil.py
===================================================================
--- gslib/tests/test_gsutil.py (revision 33376)
+++ gslib/tests/test_gsutil.py (working copy)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,7 +12,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+"""Integration tests for top-level gsutil command."""
+from __future__ import absolute_import
+
import gslib
import gslib.tests.testcase as testcase
@@ -21,15 +25,15 @@
def test_long_version_arg(self):
stdout = self.RunGsUtil(['--version'], return_stdout=True)
- self.assertEqual('gsutil version %s\n' % gslib.VERSION, stdout)
+ self.assertEqual('gsutil version: %s\n' % gslib.VERSION, stdout)
def test_version_command(self):
stdout = self.RunGsUtil(['version'], return_stdout=True)
- self.assertEqual('gsutil version %s\n' % gslib.VERSION, stdout)
+ self.assertEqual('gsutil version: %s\n' % gslib.VERSION, stdout)
def test_version_long(self):
stdout = self.RunGsUtil(['version', '-l'], return_stdout=True)
- self.assertIn('gsutil version %s\n' % gslib.VERSION, stdout)
+ self.assertIn('gsutil version: %s\n' % gslib.VERSION, stdout)
self.assertIn('boto version', stdout)
self.assertIn('checksum', stdout)
self.assertIn('config path', stdout)
« no previous file with comments | « gslib/tests/test_file_part.py ('k') | gslib/tests/test_hash.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698