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

Unified Diff: third_party/boto/tests/integration/route53/__init__.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
Index: third_party/boto/tests/integration/route53/__init__.py
===================================================================
--- third_party/boto/tests/integration/route53/__init__.py (revision 33376)
+++ third_party/boto/tests/integration/route53/__init__.py (working copy)
@@ -1,4 +1,5 @@
# Copyright (c) 2012 Mitch Garnaat http://garnaat.org/
+# Copyright (c) 2014 Tellybug, Matt Millar
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
@@ -18,3 +19,20 @@
# 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.
+
+import time
+import unittest
+from nose.plugins.attrib import attr
+from boto.route53.connection import Route53Connection
+
+@attr(route53=True)
+class Route53TestCase(unittest.TestCase):
+ def setUp(self):
+ super(Route53TestCase, self).setUp()
+ self.conn = Route53Connection()
+ self.base_domain = 'boto-test-%s.com' % str(int(time.time()))
+ self.zone = self.conn.create_zone(self.base_domain)
+
+ def tearDown(self):
+ self.zone.delete()
+ super(Route53TestCase, self).tearDown()

Powered by Google App Engine
This is Rietveld 408576698