--- a/tests/config.py Sat Feb 25 16:12:07 2012 +0100
+++ b/tests/config.py Sat Feb 25 16:22:21 2012 +0100
@@ -58,7 +58,6 @@
@patch('iro.config.ConfigParser.read')
def testMain(self,pRead):
sample_config = """[main]
-hostname = localhost
port = 8000
dburl = sdfdsafgsfdg
"""
@@ -69,7 +68,6 @@
@patch('iro.config.ConfigParser.read')
def testMainBadPort(self,pRead):
sample_config = """[main]
-hostname = localhost
port = -8000
dburl = sadfaserasg
"""
@@ -80,7 +78,6 @@
def testMainNoMust(self,pRead):
sample_config = """[main]
port = 8000
-dburl = asdfgdsrg
"""
config.configParser.readfp(io.BytesIO(sample_config))
self.assertRaises(config.NeededOption, config.configParser.read, [])
@@ -91,7 +88,6 @@
config.main.options["test"] = config.Option(v)
try:
sample_config = """[main]
-hostname = localhost
dburl = sdfawersdf
port = 8000
"""
@@ -99,7 +95,6 @@
config.configParser.read([])
self.assertEqual(v.called,0)
sample_config = """[main]
-hostname = localhost
dburl = adfgsdftsfg
port = 8000
test = foohu