diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2008-06-18 21:04:14 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2008-06-18 21:04:14 +0000 |
commit | e32bfce1a27050601bf74f6f34d6c78b5ac75b6d (patch) | |
tree | 845d61c0d13f8cd2273202636832123d6cfc834f /pjsip-apps/src/test-pjsua/mod_pres.py | |
parent | 67de577315598ed2b274592283110a67a4219a70 (diff) |
Added new callback for module: post_func (called at the end of the test), added userdata param for modules, and added new module media_playrec with some scripts
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2029 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/test-pjsua/mod_pres.py')
-rw-r--r-- | pjsip-apps/src/test-pjsua/mod_pres.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/src/test-pjsua/mod_pres.py b/pjsip-apps/src/test-pjsua/mod_pres.py index e3b996a8..6b6fb2b3 100644 --- a/pjsip-apps/src/test-pjsua/mod_pres.py +++ b/pjsip-apps/src/test-pjsua/mod_pres.py @@ -1,4 +1,4 @@ -# $Id:$ +# $Id$ import time import imp import sys @@ -9,7 +9,7 @@ cfg_file = imp.load_source("cfg_file", sys.argv[2]) # Test body function -def test_func(t): +def test_func(t, user_data): u1 = t.process[0] uri1 = cfg_file.test_param.inst_params[0].uri acc1 = "-1" |