Commit 0a37feb9 authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- Fix test_cfg to actually test the method

parent 7228342b
......@@ -108,6 +108,7 @@ class TestSkynetConfig(object):
}
assert configobject._cfg == defaultconfig
assert configobject.cfg == defaultconfig
def test_getkey(self):
......@@ -133,3 +134,4 @@ class TestSkynetConfig(object):
assert configobject.getsectionkey('global', 'version') == '1.0'
assert configobject.getsectionkey('global', 'homepage') == 'http://www.godshell.com'
assert configobject.getsectionkey('nope', 'nothere') == None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment