Commit cf7ef5c7 authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- PEP8 line spacing fix

parent 85b142bf
......@@ -50,7 +50,6 @@ class TestSkynetConfig(object):
assert configobject._section == None
assert "global = {'version': '1.0', 'homepage': 'http://www.godshell.com'}" in caplog.text
# TODO: Figure out how to mock this and test
def test_instantiate_custom(self):
dir_path = path.dirname(path.realpath(__file__))
......@@ -60,7 +59,6 @@ class TestSkynetConfig(object):
assert configobject._cfg == testconfig
assert configobject._section == None
# TODO: Figure out how to mock this and test
def test_broken_instantiate_custom(self, caplog):
dir_path = path.dirname(path.realpath(__file__))
......@@ -70,7 +68,6 @@ class TestSkynetConfig(object):
assert configobject._cfg == defaultconfig
assert "Unable to load config file = File contains no section headers." in caplog.text
# TODO: Figure out how to mock this and test
def test_loadconfig(self):
configobject = SkynetConfig()
......@@ -86,7 +83,6 @@ class TestSkynetConfig(object):
assert configobject._cfg == testconfig
assert configobject._section == None
def test_section_get(self):
configobject = SkynetConfig()
......@@ -94,7 +90,6 @@ class TestSkynetConfig(object):
assert configobject.section == None
assert configobject._section == None
def test_section_set(self):
configobject = SkynetConfig()
......@@ -104,7 +99,6 @@ class TestSkynetConfig(object):
assert configobject._section != 'foo'
assert configobject._section != None
def test_cfg(self):
configobject = SkynetConfig()
......@@ -116,7 +110,6 @@ class TestSkynetConfig(object):
assert configobject._cfg == defaultconfig
assert configobject.cfg == defaultconfig
def test_getkey(self):
configobject = SkynetConfig()
......@@ -125,7 +118,6 @@ class TestSkynetConfig(object):
configobject.section = 'global'
assert configobject.getkey('homepage') == 'http://www.godshell.com'
def test_getsection(self):
configobject = SkynetConfig()
......@@ -135,7 +127,6 @@ class TestSkynetConfig(object):
assert configobject.getsection('global') == defaultconfig
assert configobject.getsection('doesnotexist') == {}
def test_getsectionkey(self):
configobject = SkynetConfig()
......
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