Adding version string to server tests

This commit is contained in:
Jack Danger 2017-08-02 13:29:14 -07:00
parent 8188fea0ce
commit 2f05f6c9ea
2 changed files with 2 additions and 2 deletions

View File

@ -12,6 +12,6 @@ def test_elb_describe_instances():
backend = server.create_backend_app("elb") backend = server.create_backend_app("elb")
test_client = backend.test_client() test_client = backend.test_client()
res = test_client.get('/?Action=DescribeLoadBalancers') res = test_client.get('/?Action=DescribeLoadBalancers&Version=2015-12-01')
res.data.should.contain(b'DescribeLoadBalancersResponse') res.data.should.contain(b'DescribeLoadBalancersResponse')

View File

@ -12,6 +12,6 @@ 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()
res = test_client.get('/?Action=DescribeLoadBalancers') res = test_client.get('/?Action=DescribeLoadBalancers&Version=2015-12-01')
res.data.should.contain(b'DescribeLoadBalancersResponse') res.data.should.contain(b'DescribeLoadBalancersResponse')