summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_azure.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-07-21 12:02:44 -0400
committerScott Moser <smoser@ubuntu.com>2015-07-21 12:02:44 -0400
commit0db6078c5555cdddcd195cefdc04154e4a754dd6 (patch)
tree3278788881649c388d978a39c9088c5884b9f130 /tests/unittests/test_datasource/test_azure.py
parentf73991b9697d15e2d7d931e493125ca291025673 (diff)
downloadvyos-cloud-init-0db6078c5555cdddcd195cefdc04154e4a754dd6.tar.gz
vyos-cloud-init-0db6078c5555cdddcd195cefdc04154e4a754dd6.zip
tests: fix TestHandlerHandlePart tests
these tests were previously passing, but doing so erroneously. I believe that an update to mock caused them to start failing. I've updated the tests now. The simple change is replacing 'assert_called_with_once' with 'assert_called_once_with'. The second set of changes is seemingly a correction of the following tests expectations: test_normal_version_2 : was not expecting to get frequency passed into handle_part, but should have been. test_no_handle_when_modfreq_once: was expecting to have handle_part called even though the test implies otherwise. test_exception_is_caught: this test just looked broken. Now, we're testing that the part handler is called and that no exception is raised past handle_part
Diffstat (limited to 'tests/unittests/test_datasource/test_azure.py')
0 files changed, 0 insertions, 0 deletions