summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/test-pjsua/inc_cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/test-pjsua/inc_cfg.py')
-rw-r--r--pjsip-apps/src/test-pjsua/inc_cfg.py10
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
###################################