summaryrefslogtreecommitdiff
path: root/source4/param/tests/bindings.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/tests/bindings.py')
-rw-r--r--source4/param/tests/bindings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/tests/bindings.py b/source4/param/tests/bindings.py
index 11f8a299be..0bdd28a619 100644
--- a/source4/param/tests/bindings.py
+++ b/source4/param/tests/bindings.py
@@ -43,8 +43,8 @@ class ParamTestCase(unittest.TestCase):
def test_set_param_string(self):
file = param.ParamFile()
file.add_section("global")
- file["global"]["data"] = "bar"
- self.assertEquals("bar", file["global"]["data"])
+ file.set_string("data", "bar")
+ self.assertEquals("bar", file.get_string("data"))
def test_get_section(self):
file = param.ParamFile()