diff options
author | James Saryerwinnie <jls.npi@gmail.com> | 2012-06-15 10:05:20 -0700 |
---|---|---|
committer | James Saryerwinnie <jls.npi@gmail.com> | 2012-06-15 11:19:52 -0700 |
commit | 036bc2b399a85fd98f0745dd1f7d50da45287ef4 (patch) | |
tree | 4663c9df4f199a13d61447a6d3081fbea12a416e /tests/integration/sts/test_session_token.py | |
parent | 87f69f9bde3d44952e171abb6234ab4930db5d6b (diff) | |
download | boto-036bc2b399a85fd98f0745dd1f7d50da45287ef4.tar.gz |
Tag the existing integration tests with service names
I've added the following service name tags that should be
compatible with the previous '-t' arg:
* s3
* ssl
* s3mfa
* gs
* sqs
* ec2
* autoscale
* sdb
* dynamodb
* sts
* swf
Diffstat (limited to 'tests/integration/sts/test_session_token.py')
-rw-r--r-- | tests/integration/sts/test_session_token.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/sts/test_session_token.py b/tests/integration/sts/test_session_token.py index 630ebf1c..fa33d5f0 100644 --- a/tests/integration/sts/test_session_token.py +++ b/tests/integration/sts/test_session_token.py @@ -15,7 +15,7 @@ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- # ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # 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. @@ -32,6 +32,7 @@ from boto.sts.credentials import Credentials from boto.s3.connection import S3Connection class SessionTokenTest (unittest.TestCase): + sts = True def test_session_token(self): print '--- running Session Token tests ---' @@ -54,7 +55,7 @@ class SessionTokenTest (unittest.TestCase): os.unlink('token.json') assert not token.is_expired() - + # Try using the session token with S3 s3 = S3Connection(aws_access_key_id=token.access_key, aws_secret_access_key=token.secret_key, @@ -62,4 +63,3 @@ class SessionTokenTest (unittest.TestCase): buckets = s3.get_all_buckets() print '--- tests completed ---' - |