summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2008-10-24 13:34:45 -0400
committerAdrian Likins <alikins@redhat.com>2008-10-24 13:34:45 -0400
commite22199a3c8d1cb9e54d8179ffd0e9ad4a34f8947 (patch)
treef40e5cfed1ca26d303fbcabcdcf00bd0b05865b7 /test
parentc6137343761f3bf5e51bf3c732d768fc0f13e608 (diff)
downloadfunc-e22199a3c8d1cb9e54d8179ffd0e9ad4a34f8947.tar.gz
func-e22199a3c8d1cb9e54d8179ffd0e9ad4a34f8947.tar.xz
func-e22199a3c8d1cb9e54d8179ffd0e9ad4a34f8947.zip
add some test cases for per module configuation.
This stuff doesnt really seem to work at this point, but pushing so other folks can take a look at it. It doesn't break anything else.
Diffstat (limited to 'test')
-rw-r--r--test/unittest/test_client.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/unittest/test_client.py b/test/unittest/test_client.py
index 518d612..15813fb 100644
--- a/test/unittest/test_client.py
+++ b/test/unittest/test_client.py
@@ -169,7 +169,21 @@ class TestTest(BaseTest):
print config
self.assert_on_fault(result)
-
+ def test_config_get_example(self):
+ result = self.overlord.test.config_get("example")
+ config = result[self.th]
+ print config
+ self.assert_on_fault(result)
+
+ def test_config_get(self):
+ result = self.overlord.test.config_get("anothersection.string")
+ print result
+ self.assert_on_fault(result)
+
+ def test_config_get_test(self):
+ result = self.overlord.test.config_get_test()
+ print result
+ self.assert_on_fault(result)