aboutsummaryrefslogtreecommitdiffstats
path: root/tests/option_tests.py
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-03-28 18:08:59 +0000
committerBryn M. Reeves <bmr@redhat.com>2013-03-28 18:08:59 +0000
commit29e180fbc291686ee991952005c84c4b0d216a86 (patch)
tree1d6432854825efb97d816bc713145d052c8fce04 /tests/option_tests.py
parent4f0da96964fec5bdc2b66d4117aa9773e5a12a4d (diff)
downloadsos-29e180fbc291686ee991952005c84c4b0d216a86.tar.gz
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 <bmr@redhat.com>
Diffstat (limited to 'tests/option_tests.py')
-rw-r--r--tests/option_tests.py4
1 files changed, 2 insertions, 2 deletions
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')