@@ -114,11 +114,11 @@ def registerMocks(regTokenRedirect=False, guest=False):
114114 responses .add (responses .POST , "{0}/api/v2/conversation/" .format (SkypeConnection .API_JOIN ),
115115 status = 200 , content_type = "application/json" ,
116116 json = {"Long" : Data .chatLongId , "Resource" : Data .chatThreadId })
117- # Guest login: get meeting information.
117+ # Get meeting information.
118118 responses .add (responses .GET , "{0}/meetings/{1}" .format (SkypeConnection .API_JOIN_CREATE , Data .chatShortId ),
119119 status = 200 , content_type = "application/json" ,
120120 json = {"threadId" : Data .chatThreadId })
121- # Guest login: join as guest user .
121+ # Join thread .
122122 responses .add (responses .POST , "{0}/threads/{1}/members" .format (SkypeConnection .API_JOIN_CREATE , Data .chatThreadId ),
123123 status = 200 , content_type = "application/json" ,
124124 json = {"skypetoken" : Data .skypeToken })
@@ -158,8 +158,8 @@ def registerMocks(regTokenRedirect=False, guest=False):
158158 chatFmt = (SkypeConnection .API_MSGSHOST , Data .chatThreadId )
159159 responses .add (responses .GET , "{0}/users/ME/conversations" .format (SkypeConnection .API_MSGSHOST ),
160160 status = 200 , content_type = "application/json" ,
161- adding_headers = {"Set-RegistrationToken" : "registrationToken={0}; expires={1}; endpointId={{{2}}} "
162- .format (Data .regToken , expiry , Data . endpointId )},
161+ adding_headers = {"Set-RegistrationToken" : "registrationToken={0}; expires={1}"
162+ .format (Data .regToken , expiry )},
163163 json = {"conversations" : [{"id" : "8:{0}" .format (Data .contactId ),
164164 "lastMessage" : {"clientmessageid" : Data .msgId ,
165165 "composetime" : Data .msgTimeFmt ,
0 commit comments