diff --git a/bin/test_check.py b/bin/test_check.py index 610b62c7..8e14fed8 100644 --- a/bin/test_check.py +++ b/bin/test_check.py @@ -136,7 +136,8 @@ Path: """ - 'Contact: "TestBria" ;reg-id=1;\+sip.instance=""' - 'Contact: "TestBria" ;expires=0' - 'Content-Length: 0' -- 'Expires: 600' +- 'Expires: \d+' +- '_:NOT:_Expires: 0' - 'Authorization: Digest username="testuser1003"'""") check_sip(sip_in, self.msg, self.ctest) print self.ctest @@ -186,7 +187,8 @@ class TestCheckSipOut(unittest.TestCase): 'Contact: ;expires=600;\+sip.instance="";reg-id=1', 'Content-Length: 0', 'P-NGCP-Authorization: testuser1003@', - 'P-NGCP-Authorized: 1' + 'P-NGCP-Authorized: 1', + '_:NOT:_Contact: ;expires=\d+' ]""") check_sip_out(sip_out, self.msg, self.ctest) print self.ctest