summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorharlowja <harlowja@virtualbox.rhel>2013-01-10 23:09:02 -0800
committerharlowja <harlowja@virtualbox.rhel>2013-01-10 23:09:02 -0800
commit9800832d4fbfef2624baa0d3c1a0aa737bc0dfb2 (patch)
tree409420860307ce2721e3be848936e54d66db132a /bin
parent3569e71a1579b97f4e33fb46ab3fcef08a4ddad4 (diff)
downloadvyos-cloud-init-9800832d4fbfef2624baa0d3c1a0aa737bc0dfb2.tar.gz
vyos-cloud-init-9800832d4fbfef2624baa0d3c1a0aa737bc0dfb2.zip
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 'bin')
0 files changed, 0 insertions, 0 deletions