Get standalone server mode working for all tests.

This commit is contained in:
Steve Pulec 2017-02-23 19:43:48 -05:00
commit 81836b6981
78 changed files with 957 additions and 783 deletions

View 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,
}