Avoid accessing private parsing method
Bug #415607 reported by
Duncan McGreggor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txAWS |
New
|
Wishlist
|
Unassigned |
Bug Description
In a review comment, Jamu made the following observation:
+ def test_parse_
+ ec2 = client.
+ results = ec2._parse_
+ self.check_
It would be nice to avoid accessing the private _parse_reservation
method by passing a query_factory to EC2Client that returns a
FakeQuery. FakeQuery.submit could return a succeeded deferred and
you could call ec2.describe_
result you want to make assertions about.
Changed in txaws: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.