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

Unified Diff: third_party/gsutil/gslib/tests/test_rb.py

Issue 1380943003: Roll version of gsutil to 4.15. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 5 years 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 | « third_party/gsutil/gslib/tests/test_perfdiag.py ('k') | third_party/gsutil/gslib/tests/test_rm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/gslib/tests/test_rb.py
diff --git a/third_party/gsutil/gslib/tests/test_rb.py b/third_party/gsutil/gslib/tests/test_rb.py
index 245f4e456f88de8b63926608930dbaa3baa5482d..046084ec60666cee293b5d8e6f2bb39eeba07332 100644
--- a/third_party/gsutil/gslib/tests/test_rb.py
+++ b/third_party/gsutil/gslib/tests/test_rb.py
@@ -44,6 +44,11 @@ class TestRb(testcase.GsUtilIntegrationTestCase):
self.assertIn('Bucket is not empty. Note: this is a versioned bucket',
stderr)
+ def test_rb_nonexistent_bucket(self):
+ stderr = self.RunGsUtil(['rb', 'gs://%s' % self.nonexistent_bucket_name],
+ return_stderr=True, expected_status=1)
+ self.assertIn('does not exist.', stderr)
+
def test_rb_minus_f(self):
bucket_uri = self.CreateBucket()
stderr = self.RunGsUtil([
« no previous file with comments | « third_party/gsutil/gslib/tests/test_perfdiag.py ('k') | third_party/gsutil/gslib/tests/test_rm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698