Adding version string to server tests
This commit is contained in:
parent
8188fea0ce
commit
2f05f6c9ea
@ -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')
|
||||||
|
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user