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/300_ice_1_1.py b/pjsip-apps/src/test-pjsua/scripts-call/300_ice_1_1.py
index 19a3232..0bf8cc1 100644
--- a/pjsip-apps/src/test-pjsua/scripts-call/300_ice_1_1.py
+++ b/pjsip-apps/src/test-pjsua/scripts-call/300_ice_1_1.py
@@ -1,10 +1,12 @@
-# $Id:$
+# $Id$
#
-import inc_cfg
+from inc_cfg import *
# ICE mismatch
-config = inc_cfg.CallConfig(
- title = "Callee=use ICE, caller=use ICE",
- callee_cfg = inc_cfg.Config(arg="--null-audio --use-ice"),
- caller_cfg = inc_cfg.Config(arg="--null-audio --use-ice")
+test_param = TestParam(
+ "Callee=use ICE, caller=use ICE",
+ [
+ InstanceParam("callee", "--null-audio --use-ice --max-calls=1"),
+ InstanceParam("caller", "--null-audio --use-ice --max-calls=1")
+ ]
)