diff options
Diffstat (limited to 'source4/param/tests/bindings.py')
-rw-r--r-- | source4/param/tests/bindings.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source4/param/tests/bindings.py b/source4/param/tests/bindings.py index d1d71e4485..41a67f93fc 100644 --- a/source4/param/tests/bindings.py +++ b/source4/param/tests/bindings.py @@ -50,23 +50,3 @@ class LoadParmTestCase(unittest.TestCase): file = param.LoadParm() file.load_default() -class ParamTestCase(unittest.TestCase): - def test_init(self): - file = param.ParamFile() - self.assertTrue(file is not None) - - def test_add_section(self): - file = param.ParamFile() - file.add_section("global") - self.assertTrue(file["global"] is not None) - - def test_set_param_string(self): - file = param.ParamFile() - file.add_section("global") - file.set_string("data", "bar") - self.assertEquals("bar", file.get_string("data")) - - def test_get_section(self): - file = param.ParamFile() - self.assertEquals(None, file.get_section("unknown")) - self.assertRaises(KeyError, lambda: file["unknown"]) |