core sts endpoints completed
This commit is contained in:
parent
124bc04598
commit
212d9c7abe
11 changed files with 201 additions and 3 deletions
16
tests/test_sts/test_server.py
Normal file
16
tests/test_sts/test_server.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import sure # flake8: 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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue