Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
[LIBCLOUD-554] Add support for providing filters and VPC IDs to EC2: ex_list_networks() #294
EC2 API allows VPC ID and filters to be provided to list only specific VPCs.
I went ahead, squashed the commits, fixed the tests and merged changes into trunk.
The problem in your case was that you asserted on the response, but you returned the same fixture which contains all the networks. I've changed the tests to assert that the correct query parameters are sent, because that's the thing we are actually interested in and want to test in this case.