From aa9b2a86599905bf95b56627b0ce4bd96a1d7164 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 16 Mar 2012 11:20:30 -0400 Subject: fix pylint warnings in test_userdata --- tests/unittests/test_userdata.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/unittests/test_userdata.py') 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) -- cgit v1.2.3