summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-06-26 22:20:54 +0000
committerBenny Prijono <bennylp@teluu.com>2008-06-26 22:20:54 +0000
commitd4cf04bb188c599ba5236f527835e9a68eead721 (patch)
treea35bd6dc9020395e4f8270fd2f731cf9707d5680
parent3295efbbcce1ce10d02824e2b1dad5d688f2ea54 (diff)
Rearrange the commands in mod_pres.py to make it work
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2070 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip-apps/src/test-pjsua/mod_pres.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pjsip-apps/src/test-pjsua/mod_pres.py b/pjsip-apps/src/test-pjsua/mod_pres.py
index 6b6fb2b3..7b00d8e4 100644
--- a/pjsip-apps/src/test-pjsua/mod_pres.py
+++ b/pjsip-apps/src/test-pjsua/mod_pres.py
@@ -107,11 +107,11 @@ def test_func(t, user_data):
# U1 send IM
im_text = "Hello World from U1"
u1.send("i")
- u1.send("1")
- u1.send(im_text)
+ u1.send(uri2)
u2.expect(" is typing")
- u2.expect("MESSAGE from.*"+im_text)
+ u1.send(im_text)
u1.expect(im_text+".*delivered successfully")
+ u2.expect("MESSAGE from.*"+im_text)
# Synchronize stdout
u1.sync_stdout()