moto/tests/test_sts/test_server.py
2013-08-03 17:21:25 -04:00

17 lines
382 B
Python

import sure # noqa
import moto.server as server
'''
Test the different server responses
'''
server.configure_urls("sts")
def test_sts_get_session_token():
test_client = server.app.test_client()
res = test_client.get('/?Action=GetSessionToken')
res.status_code.should.equal(200)
res.data.should.contain("SessionToken")
res.data.should.contain("AccessKeyId")