summaryrefslogtreecommitdiff
path: root/tests/unittests
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-03-16 11:20:30 -0400
committerScott Moser <smoser@ubuntu.com>2012-03-16 11:20:30 -0400
commitaa9b2a86599905bf95b56627b0ce4bd96a1d7164 (patch)
tree565c165e92a71e0610819cc6f922a1771dec1e49 /tests/unittests
parent9f1077a5a1142cca55d1321a33d0ce13ae7abd70 (diff)
downloadvyos-cloud-init-aa9b2a86599905bf95b56627b0ce4bd96a1d7164.tar.gz
vyos-cloud-init-aa9b2a86599905bf95b56627b0ce4bd96a1d7164.zip
fix pylint warnings in test_userdata
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/test_userdata.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittests/test_userdata.py b/tests/unittests/test_userdata.py
index 37ad9b13..8eb7b259 100644
--- a/tests/unittests/test_userdata.py
+++ b/tests/unittests/test_userdata.py
@@ -17,12 +17,17 @@ instance_id = "i-testing"
class FakeDataSource(DataSource):
def __init__(self, userdata):
+ DataSource.__init__(self)
self.metadata = {'instance-id': instance_id}
self.userdata_raw = userdata
class TestConsumeUserData(MockerTestCase):
+ _log_handler = None
+ _log = None
+ log_file = None
+
def setUp(self):
self.mock_write = self.mocker.replace("cloudinit.util.write_file",
passthrough=False)