~launchpad-pqm/launchpad/devel

9265.1.1 by Jonathan Lange
Add lp-dev-tools that lack license confusion, changing the license to match
1
# Copyright 2009 Canonical Ltd.  This software is licensed under the
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
9389.6.9 by Michael Hudson
docstrings, __all__s and a little whitespace
4
"""Run the Launchpad tests in Amazon's Elastic Compute Cloud (EC2)."""
9389.6.6 by Michael Hudson
move main to its own file, add standard header to all new files
5
6
__metaclass__ = type
7
9453.2.22 by Michael Hudson
kill error_and_quit
8
__all__ = []
9389.6.3 by Michael Hudson
give EC2Instance to its own file
9
9453.2.22 by Michael Hudson
kill error_and_quit
10
from bzrlib.plugin import load_plugins
14612.2.5 by William Grant
Format the non-contrib bits of lib.
11
12
9453.2.22 by Michael Hudson
kill error_and_quit
13
load_plugins()
9265.1.1 by Jonathan Lange
Add lp-dev-tools that lack license confusion, changing the license to match
14
import paramiko
15
16
#############################################################################
17
# Try to guide users past support problems we've encountered before
18
if not paramiko.__version__.startswith('1.7.4'):
19
    raise RuntimeError('Your version of paramiko (%s) is not supported.  '
20
                       'Please use 1.7.4.' % (paramiko.__version__,))
21
# maybe add similar check for bzrlib?
22
# End
23
#############################################################################
9594.1.1 by Gavin Panella
Ignore deprecation warnings in boto.
24
25
import warnings
26
warnings.filterwarnings(
27
    "ignore", category=DeprecationWarning, module="boto")