This is required for the server test to work

This commit is contained in:
Jack Danger 2017-08-01 18:26:38 -07:00
parent d56c30932f
commit 8188fea0ce
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,10 @@
from __future__ import unicode_literals from __future__ import unicode_literals
from .responses import ELBV2Response
url_bases = [] url_bases = [
"https?://elasticloadbalancing.(.+).amazonaws.com",
]
url_paths = {} url_paths = {
'{0}/$': ELBV2Response.dispatch,
}

View File

@ -8,7 +8,7 @@ Test the different server responses
''' '''
def test_elbv2_describe_instances(): def test_elbv2_describe_load_balancers():
backend = server.create_backend_app("elbv2") backend = server.create_backend_app("elbv2")
test_client = backend.test_client() test_client = backend.test_client()