~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/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:
102
102
 
103
103
        if creds:
104
104
            self.creds = creds
105
 
        return self.get_client(EC2Client, creds=creds,
 
105
        return self.get_client(EC2Client, creds=self.creds,
106
106
                               endpoint=self.ec2_endpoint, query_factory=None)
107
107
 
108
108
    def get_s3_client(self):