Skip to content

Commit 665d7ed

Browse files
committed
Fix reg token mock header
1 parent 396cea1 commit 665d7ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)