Get standalone server mode working for all tests.
This commit is contained in:
parent
cb28eeefbb
commit
81836b6981
78 changed files with 957 additions and 783 deletions
12
moto/instance_metadata/urls.py
Normal file
12
moto/instance_metadata/urls.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from __future__ import unicode_literals
|
||||
from .responses import InstanceMetadataResponse
|
||||
|
||||
url_bases = [
|
||||
"http://169.254.169.254"
|
||||
]
|
||||
|
||||
instance_metadata = InstanceMetadataResponse()
|
||||
|
||||
url_paths = {
|
||||
'{0}/(?P<path>.+)': instance_metadata.metadata_response,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue