moto/tests/test_elbv2/test_server.py

15 lines
344 B
Python

import moto.server as server
"""
Test the different server responses
"""
def test_elbv2_describe_load_balancers():
backend = server.create_backend_app("elbv2")
test_client = backend.test_client()
res = test_client.get("/?Action=DescribeLoadBalancers&Version=2015-12-01")
assert b"DescribeLoadBalancersResponse" in res.data