summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2011-08-18 17:26:11 +0000
committerNanang Izzuddin <nanang@teluu.com>2011-08-18 17:26:11 +0000
commit1e681d097f360b84b1f6795b9a2cead89540851e (patch)
treec6a0785b2e937b9eeb1cec3a879873e50ddb2e87 /tests
parentf8b6153e92a2e84b1033c9d0dcfe46bf6470346e (diff)
Re #1346 (python test fixes): Updated string pattern constants as some pjsua log messages has been changed in 2.0.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3710 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests')
-rw-r--r--tests/pjsua/inc_const.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/pjsua/inc_const.py b/tests/pjsua/inc_const.py
index 1f6d84de..b8b761e1 100644
--- a/tests/pjsua/inc_const.py
+++ b/tests/pjsua/inc_const.py
@@ -27,9 +27,10 @@ STATE_CONFIRMED = "state.*CONFIRMED"
STATE_DISCONNECTED = "Call .* DISCONNECTED"
# Media call is put on-hold
-MEDIA_HOLD = "Media for call [0-9]+ is suspended.*hold"
+MEDIA_HOLD = "Call [0-9]+ media [0-9]+ .*, status is .* hold"
# Media call is active
-MEDIA_ACTIVE = "Media for call [0-9]+ is active"
+MEDIA_ACTIVE = "Call [0-9]+ media [0-9]+ .*, status is Active"
+#MEDIA_ACTIVE = "Media for call [0-9]+ is active"
# RX_DTMF
RX_DTMF = "Incoming DTMF on call [0-9]+: "