From 1e681d097f360b84b1f6795b9a2cead89540851e Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Thu, 18 Aug 2011 17:26:11 +0000 Subject: 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 --- tests/pjsua/inc_const.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') 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]+: " -- cgit v1.2.3