

Public Member Functions | |
| def | __init__ |
| def | __call__ |
| def | run |
| def | getPortKWArgs |
| def | setUp |
| def | CleanUp |
Data Fields | |
| methodName | |
| url | |
| wsdl2py_args | |
| wsdl2dispatch_args | |
| portkwargs | |
| client_module | |
| types_module | |
| server_module | |
| done | |
Static Public Attributes | |
| out = OUTPUT | |
| name = None | |
| string | url_section = 'WSDL' |
| client_file_name = None | |
| types_file_name = None | |
| server_file_name = None | |
| tuple | write = lambdaself,arg:self.out.write(arg) |
| tuple | CleanUp = classmethod(CleanUp) |
Conventions for method names:
test_net*
-- network tests
test_local*
-- local tests
test_dispatch*
-- tests that use the a spawned local container
class attributes: Edit/Override these in the inheriting class as needed
out -- file descriptor to write output to
name -- configuration item, must be set in class.
url_section -- configuration section, maps a test module
name to an URL.
client_file_name --
types_file_name --
server_file_name --
Definition at line 114 of file ServiceTest.py.
| def __init__ | ( | self, | |
| methodName | |||
| ) |
parameters:
methodName --
instance variables:
client_module
types_module
server_module
processID
done
Definition at line 141 of file ServiceTest.py.
| def CleanUp | ( | cls ) |
call this when dispatch server is no longer needed, maybe another needs to be started. Assumption that a single "Suite" uses the same server, once all the tests are run in that suite do a cleanup.
Definition at line 353 of file ServiceTest.py.
| def setUp | ( | self ) |
Generate types and services modules once, then make them available thru the *_module attributes if the *_file_name attributes were specified.
Definition at line 284 of file ServiceTest.py.
1.7.2