Package twisted :: Package test :: Module test_sip
[frames | no frames]

Module twisted.test.test_sip

Session Initialization Protocol tests.
Classes
Client  
DummyLocator  
FailingLocator  
LiveTest  
MakeMessageTestCase  
MessageParsingTestCase  
MessageParsingTestCase2  
ParseTestCase  
ProxyTestCase  
RegistrationTestCase  
URLTestCase  
ViaTestCase  

Variable Summary
str request1 = '\n\r\n\n\rINVITE sip:foo SIP/2.0\r\nFrom: mo...
str request2 = 'INVITE sip:foo SIP/2.0\r\nFrom: mo\r\nTo: jo...
str request3 = 'INVITE sip:foo SIP/2.0\r\nFrom: mo\r\nTo: jo...
str request4 = 'INVITE sip:foo SIP/2.0\r\nFrom: mo\r\nTo: jo...
str request_short = 'INVITE sip:foo SIP/2.0\r\nf: mo\r\nt: j...
str response1 = 'SIP/2.0 200 OK\r\nFrom:  foo\r\nTo:bar\r\nC...

Variable Details

request1

Type:
str
Value:
'''
\r

\rINVITE sip:foo SIP/2.0\r
From: mo\r
To: joe\r
Content-Length: 4\r
\r
...                                                                    

request2

Type:
str
Value:
'''INVITE sip:foo SIP/2.0\r
From: mo\r
To: joe\r
\r
1234'''                                                                

request3

Type:
str
Value:
'''INVITE sip:foo SIP/2.0\r
From: mo\r
To: joe\r
Content-Length: 4\r
\r
1234\r
\r
lalalal'''                                                             

request4

Type:
str
Value:
'''INVITE sip:foo SIP/2.0\r
From: mo\r
To: joe\r
Content-Length: 0\r
\r
INVITE sip:loop SIP/2.0\r
From: foo\r
To: bar\r
...                                                                    

request_short

Type:
str
Value:
'''INVITE sip:foo SIP/2.0\r
f: mo\r
t: joe\r
l: 4\r
\r
abcd'''                                                                

response1

Type:
str
Value:
'''SIP/2.0 200 OK\r
From:  foo\r
To:bar\r
Content-Length: 0\r
\r
'''                                                                    

Generated by Epydoc 2.0 on Sat Sep 13 04:20:39 2003 http://epydoc.sf.net