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

Unified Diff: third_party/google_appengine_cloudstorage/cloudstorage/test_utils.py

Issue 139303023: add GCS support to docs server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bumped versions Created 6 years, 11 months 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
Index: third_party/google_appengine_cloudstorage/cloudstorage/test_utils.py
diff --git a/third_party/google_appengine_cloudstorage/cloudstorage/test_utils.py b/third_party/google_appengine_cloudstorage/cloudstorage/test_utils.py
new file mode 100644
index 0000000000000000000000000000000000000000..ab3d6c94c0d7bb467a00510ce0eb25486229183b
--- /dev/null
+++ b/third_party/google_appengine_cloudstorage/cloudstorage/test_utils.py
@@ -0,0 +1,13 @@
+# Copyright 2013 Google Inc. All Rights Reserved.
+
+"""Utils for testing."""
+
+
+class MockUrlFetchResult(object):
+
+ def __init__(self, status, headers, body):
+ self.status_code = status
+ self.headers = headers
+ self.content = body
+ self.content_was_truncated = False
+ self.final_url = None

Powered by Google App Engine
This is Rietveld 408576698