summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authormakkalot <makkalot@gmail.com>2008-05-27 15:45:07 +0300
committermakkalot <makkalot@gmail.com>2008-05-27 15:45:07 +0300
commite9d4417179b6c164257794b89ec5da6d853f7d45 (patch)
treea8325b1940cbb101e1dcd915c55cd0d5d94dc1ef /test
parentce08177132f46d8ae0fa636feaa19f157482afa5 (diff)
downloadthird_party-func-e9d4417179b6c164257794b89ec5da6d853f7d45.tar.gz
third_party-func-e9d4417179b6c164257794b89ec5da6d853f7d45.tar.xz
third_party-func-e9d4417179b6c164257794b89ec5da6d853f7d45.zip
the unittest for get_method_args it passes the system module test hacky like other members like it we should implement them ...
Diffstat (limited to 'test')
-rw-r--r--test/unittest/test_client.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unittest/test_client.py b/test/unittest/test_client.py
index 578dd90..bae9eab 100644
--- a/test/unittest/test_client.py
+++ b/test/unittest/test_client.py
@@ -46,6 +46,14 @@ class BaseTest:
result = mod.list_methods()
self.assert_on_fault(result)
+ def test_module_get_method_args(self):
+ mod = getattr(self.overlord,self.module)
+ result = mod.list_methods()
+
+ for meth in result.values()[0]:
+ arg_result=mod.get_method_args(meth)
+ self.assert_on_fault(arg_result)
+
def test_module_inventory(self):
mod = getattr(self.overlord, self.module)
result = mod.list_methods()
@@ -70,6 +78,7 @@ class BaseTest:
test_module_description.intro = True
test_module_list_methods.intro = True
test_module_inventory.intro = True
+ test_module_get_method_args.intro = True
class TestTest(BaseTest):
module = "test"
@@ -381,6 +390,8 @@ class TestSystem(BaseTest):
def test_module_description(self):
pass
+ def test_module_get_method_args(self):
+ pass
#import time