~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/tests/test_service.py

  • Committer: Duncan McGreggor
  • Date: 2009-08-28 02:32:44 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: duncan@canonical.com-20090828023244-6t44fi741heukb8p
- Fixed the creds parameter in the get_ec2_client method.
- Removed redundant code in check_parsed_instances.
- Created a testing subpackage for generally useful testing classes.
- Added fake ec2 client and region classes.
- Moved base test case into new testing module.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
from txaws.ec2.client import EC2Client
8
8
from txaws.service import (AWSServiceEndpoint, AWSServiceRegion,
9
9
                           EC2_ENDPOINT_EU, EC2_ENDPOINT_US, REGION_EU)
10
 
from txaws.tests import TXAWSTestCase
 
10
from txaws.testing.base import TXAWSTestCase
11
11
 
12
12
 
13
13
class AWSServiceEndpointTestCase(TXAWSTestCase):