diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2008-06-27 21:12:12 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2008-06-27 21:12:12 +0000 |
commit | b46af4dec3ca4ea01151fd8544cbd151190c4f92 (patch) | |
tree | 158dfd4bd46586bb93e301a00a2d723f9c1398a6 /pjsip-apps/src/test-pjsua/inc_cfg.py | |
parent | a94cff1ec62c041a2e72dc3e73fd9970eb794ef6 (diff) |
Ticket #543:
- added options to run.py
- passing options in runall.py to run.py
- removing userdata in module callback functions
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2078 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/test-pjsua/inc_cfg.py')
-rw-r--r-- | pjsip-apps/src/test-pjsua/inc_cfg.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pjsip-apps/src/test-pjsua/inc_cfg.py b/pjsip-apps/src/test-pjsua/inc_cfg.py index f20a9349..3c601079 100644 --- a/pjsip-apps/src/test-pjsua/inc_cfg.py +++ b/pjsip-apps/src/test-pjsua/inc_cfg.py @@ -1,11 +1,14 @@ # $Id$ import random -from config_site import * DEFAULT_ECHO = True DEFAULT_TRACE = True DEFAULT_START_SIP_PORT = 50000 +# Shared vars +ARGS = [] # arguments containing script module & config +HAS_SND_DEV = 1 # specify 1 if system has sound device and prefer to use sound device in the tests + # Individual pjsua instance configuration class class InstanceParam: # Name to identify this pjsua instance (e.g. "caller", "callee", etc.) @@ -75,20 +78,17 @@ class TestParam: # the function for test body test_func = None post_func = None - user_data = None def __init__( self, title, # Test title inst_params, # InstanceParam's as list func=None, skip=False, - post_func=None, - user_data=None): + post_func=None): self.title = title self.inst_params = inst_params self.skip = skip self.test_func = func self.post_func = post_func - self.user_data = user_data ################################### |