summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_configdrive.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-02-10 20:51:59 -0500
committerScott Moser <smoser@ubuntu.com>2015-02-10 20:51:59 -0500
commitf5f280cae778bd214b91664f28d9eed997fbcda5 (patch)
tree16fbbba437e1ad9db062552f18bd546168f41e1d /tests/unittests/test_datasource/test_configdrive.py
parentf67d459da3d81f3b4c4c4171eaf5940dbc73ea25 (diff)
downloadvyos-cloud-init-f5f280cae778bd214b91664f28d9eed997fbcda5.tar.gz
vyos-cloud-init-f5f280cae778bd214b91664f28d9eed997fbcda5.zip
pep8
Diffstat (limited to 'tests/unittests/test_datasource/test_configdrive.py')
-rw-r--r--tests/unittests/test_datasource/test_configdrive.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/test_datasource/test_configdrive.py b/tests/unittests/test_datasource/test_configdrive.py
index fd930877..e28bdd84 100644
--- a/tests/unittests/test_datasource/test_configdrive.py
+++ b/tests/unittests/test_datasource/test_configdrive.py
@@ -110,6 +110,7 @@ class TestConfigDriveDataSource(TestCase):
# and True on its second call. We use a handy generator as
# the mock side effect for this. The mocked function returns
# what the side effect returns.
+
def exists_side_effect():
yield False
yield True