summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authormakkalot <makkalot@gmail.com>2008-06-01 19:05:03 +0300
committermakkalot <makkalot@gmail.com>2008-06-01 19:05:03 +0300
commite8f7ed14ea4c1f82869253735cb861ac319ca4df (patch)
treec96c867435135b168255d5a4e05460cdf82a13dc /test
parent4a274173556d7366604160abbfeb57b51b4eb53b (diff)
downloadthird_party-func-e8f7ed14ea4c1f82869253735cb861ac319ca4df.tar.gz
third_party-func-e8f7ed14ea4c1f82869253735cb861ac319ca4df.tar.xz
third_party-func-e8f7ed14ea4c1f82869253735cb861ac319ca4df.zip
some testing commits
Diffstat (limited to 'test')
-rw-r--r--test/unittest/test_client.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/unittest/test_client.py b/test/unittest/test_client.py
index bae9eab..9628973 100644
--- a/test/unittest/test_client.py
+++ b/test/unittest/test_client.py
@@ -14,7 +14,8 @@ import socket
class BaseTest:
# assume we are talking to localhost
# th = socket.gethostname()
- th = socket.getfqdn()
+ maho ="hard.evlan.com"
+ th = socket.getfqdn(maho)
nforks=1
async=False
@@ -48,11 +49,8 @@ class BaseTest:
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)
+ arg_result=mod.get_method_args()
+ self.assert_on_fault(arg_result)
def test_module_inventory(self):
mod = getattr(self.overlord, self.module)