| 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()
|
|
|