summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2013-01-14 09:20:53 -0500
committerScott Moser <smoser@ubuntu.com>2013-01-14 09:20:53 -0500
commit0c38be4ae18e08640269e2f45e9243ea4867153c (patch)
tree33be0d7078485b88d37172c4e235ba682d2e2db3 /cloudinit/sources
parentbf7bdf27e109ffb4964d4869b79da964fc40fb65 (diff)
parent9800832d4fbfef2624baa0d3c1a0aa737bc0dfb2 (diff)
downloadvyos-cloud-init-0c38be4ae18e08640269e2f45e9243ea4867153c.tar.gz
vyos-cloud-init-0c38be4ae18e08640269e2f45e9243ea4867153c.zip
tests: Add a context manager function in test helpers.
This function can be used to ensure that mocker objects are restored and verified during usage if exceptions are thrown while the mock object is being used. Ensure it is used in the config drive test when multiple mock objects are being created and restored. LP: #1098430
Diffstat (limited to 'cloudinit/sources')
0 files changed, 0 insertions, 0 deletions