Use known ImageID in internal tests (#3555)
This commit is contained in:
parent
a2246df1a4
commit
77dd35e3b8
23 changed files with 258 additions and 260 deletions
|
|
@ -3,6 +3,7 @@ import re
|
|||
import sure # noqa
|
||||
|
||||
import moto.server as server
|
||||
from tests import EXAMPLE_AMI_ID
|
||||
|
||||
"""
|
||||
Test the different server responses
|
||||
|
|
@ -14,7 +15,7 @@ def test_ec2_server_get():
|
|||
test_client = backend.test_client()
|
||||
|
||||
res = test_client.get(
|
||||
"/?Action=RunInstances&ImageId=ami-60a54009",
|
||||
"/?Action=RunInstances&ImageId=" + EXAMPLE_AMI_ID,
|
||||
headers={"Host": "ec2.us-east-1.amazonaws.com"},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue