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/mod_run.py b/pjsip-apps/src/test-pjsua/mod_run.py
index 34171e4..379b4f2 100644
--- a/pjsip-apps/src/test-pjsua/mod_run.py
+++ b/pjsip-apps/src/test-pjsua/mod_run.py
@@ -1,19 +1,10 @@
-# $Id:$

-import imp

-import sys

-import inc_param as param

-

-

-# Read configuration

-cfg_file = imp.load_source("cfg_file", sys.argv[2])

-

-# Test title

-title = "Basic pjsua"

-

-# Param to spawn pjsua

-p1 = param.Pjsua("pjsua", args=cfg_file.config.arg, 

-		 echo=cfg_file.config.echo_enabled, 

-		 trace=cfg_file.config.trace_enabled)

-

-# Here where it all comes together

-test = param.Test(title, run=[p1])

+# $Id:$
+import imp
+import sys
+
+
+# Read configuration
+cfg_file = imp.load_source("cfg_file", sys.argv[2])
+
+# Here where it all comes together
+test = cfg_file.test_param