~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/tests/test_credentials.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:
6
6
from twisted.trial.unittest import TestCase
7
7
 
8
8
from txaws.credentials import AWSCredentials, ENV_ACCESS_KEY, ENV_SECRET_KEY
9
 
from txaws.tests import TXAWSTestCase
10
 
 
11
 
from txaws.tests import TXAWSTestCase
 
9
from txaws.testing.base import TXAWSTestCase
12
10
 
13
11
 
14
12
class TestCredentials(TXAWSTestCase):