diff options
Diffstat (limited to 'tests/other/test_configparser.py')
-rw-r--r-- | tests/other/test_configparser.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/other/test_configparser.py b/tests/other/test_configparser.py index 51ffc5a68..09b686738 100644 --- a/tests/other/test_configparser.py +++ b/tests/other/test_configparser.py @@ -25,6 +25,11 @@ class TestConfigParser(): assert "general" in self.config assert "foobaar" not in self.config + def test_iter(self): + for section, config, values in self.config.iterSections(): + assert isinstance(section, basestring) + assert isinstance(config.config, dict) + assert isinstance(values, dict) @raises(KeyError) def test_invalid_config(self): |