diff options
author | Adrian Likins <alikins@redhat.com> | 2008-10-20 10:52:05 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2008-10-20 10:52:05 -0400 |
commit | 6e17cdc205518bf6f4a4524622ea1c4eaff2d87d (patch) | |
tree | 467fbe92a99e9a2589afaeda3ed133ce2eb47075 /test | |
parent | d3848c9469ce32e4015095bd2b083e4a7b9560fa (diff) | |
download | func-6e17cdc205518bf6f4a4524622ea1c4eaff2d87d.tar.gz func-6e17cdc205518bf6f4a4524622ea1c4eaff2d87d.tar.xz func-6e17cdc205518bf6f4a4524622ea1c4eaff2d87d.zip |
Add some support for saving module config files. And corresponding test cases.
Diffstat (limited to 'test')
-rw-r--r-- | test/unittest/test_client.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/unittest/test_client.py b/test/unittest/test_client.py index b535413..518d612 100644 --- a/test/unittest/test_client.py +++ b/test/unittest/test_client.py @@ -153,6 +153,20 @@ class TestTest(BaseTest): def test_config(self): result = self.overlord.test.configfoo() + config = result[self.th] + print config + self.assert_on_fault(result) + + def test_config_write(self): + result = self.overlord.test.config_save() + config = result[self.th] + print config + self.assert_on_fault(result) + + def test_config_set(self): + result = self.overlord.test.config_set("example", 5000) + config = result[self.th] + print config self.assert_on_fault(result) |