Added presence pjsua unit tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2025 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/test-pjsua/scripts-call/200_tcp.py b/pjsip-apps/src/test-pjsua/scripts-call/200_tcp.py
index 0c96c46..52b5f35 100644
--- a/pjsip-apps/src/test-pjsua/scripts-call/200_tcp.py
+++ b/pjsip-apps/src/test-pjsua/scripts-call/200_tcp.py
@@ -1,11 +1,12 @@
# $Id$
#
-import inc_cfg
+from inc_cfg import *
# TCP call
-config = inc_cfg.CallConfig(
- title = "TCP transport",
- callee_cfg = inc_cfg.Config(arg="--null-audio --no-udp"),
- caller_cfg = inc_cfg.Config(arg="--null-audio --no-udp")
+test_param = TestParam(
+ "TCP transport",
+ [
+ InstanceParam("callee", "--null-audio --no-udp", uri_param=";transport=tcp --max-calls=1"),
+ InstanceParam("caller", "--null-audio --no-udp --max-calls=1")
+ ]
)
-config.uri_param = ";transport=tcp"