summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_maas.py
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2014-01-24 14:20:54 -0700
committerBen Howard <ben.howard@canonical.com>2014-01-24 14:20:54 -0700
commit85d8ec03ea4dd01d37b141390d1ae5c7d10e7052 (patch)
treea97ddb7f71d00e857dd718b4004f52638736c299 /tests/unittests/test_datasource/test_maas.py
parent7079fac4646380db1e064a433d7843473bda1542 (diff)
parent4919cd124e57e82ecfcdaa9bfcbc051c719708e6 (diff)
downloadvyos-cloud-init-85d8ec03ea4dd01d37b141390d1ae5c7d10e7052.tar.gz
vyos-cloud-init-85d8ec03ea4dd01d37b141390d1ae5c7d10e7052.zip
Rebasing on trunk
Diffstat (limited to 'tests/unittests/test_datasource/test_maas.py')
-rw-r--r--tests/unittests/test_datasource/test_maas.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_maas.py b/tests/unittests/test_datasource/test_maas.py
index 2007a6df..ebfb24da 100644
--- a/tests/unittests/test_datasource/test_maas.py
+++ b/tests/unittests/test_datasource/test_maas.py
@@ -119,7 +119,8 @@ class TestMAASDataSource(mocker.MockerTestCase):
mock_request(url, headers=None, timeout=mocker.ANY,
data=mocker.ANY, sec_between=mocker.ANY,
ssl_details=mocker.ANY, retries=mocker.ANY,
- headers_cb=my_headers_cb)
+ headers_cb=my_headers_cb,
+ exception_cb=mocker.ANY)
resp = valid.get(key)
self.mocker.result(util.StringResponse(resp))
self.mocker.replay()