DescriptionTest helper for building fake environment configs.
The config tests in both the ec2 and openstack environment provider repeat the same code to set up and verify environment configs. With MAAS we're about to add another use. And so in this branch I extract a part of this code that is not specific to a given provider.
An alternative would have been to cargo-cult yet another copy of this code and write similar data-driven tests, but with this much code inbetween and this little documentation, it's not clear what the meaning of those tests would be or what coverage is.
https://code.launchpad.net/~jtv/juju-core/config-test-helper/+merge/146059
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Test helper for building fake environment configs. #
Total comments: 1
MessagesTotal messages: 5
|