From 29e180fbc291686ee991952005c84c4b0d216a86 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Thu, 28 Mar 2013 18:08:59 +0000 Subject: Make more names pep8 compliant across the tree Fix policy and utility function, method and variable names to use lower case underscored style instead of camelCase. Related to Issue #112. Signed-off-by: Bryn M. Reeves --- tests/option_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/option_tests.py') diff --git a/tests/option_tests.py b/tests/option_tests.py index 6114c9b2..d221b965 100644 --- a/tests/option_tests.py +++ b/tests/option_tests.py @@ -15,8 +15,8 @@ class GlobalOptionTest(unittest.TestCase): }, } self.plugin = Plugin(self.commons) - self.plugin.optNames = ['baz', 'empty'] - self.plugin.optParms = [{'enabled': False}, {'enabled': None}] + self.plugin.opt_names = ['baz', 'empty'] + self.plugin.opt_parms = [{'enabled': False}, {'enabled': None}] def test_simple_lookup(self): self.assertEquals(self.plugin.get_option('test_option'), 'foobar') -- cgit