11
11
import pytest
12
12
from azure_devtools .scenario_tests import ReplayableTest
13
13
14
- from microsoft . botbuilder .schema import *
15
- from microsoft . botframework .connector import ConnectorClient
16
- from microsoft . botframework .connector .auth import MicrosoftAppCredentials
14
+ from botbuilder .schema import *
15
+ from botframework .connector import ConnectorClient
16
+ from botframework .connector .auth import MicrosoftAppCredentials
17
17
18
18
from .authentication_stub import MicrosoftTokenAuthenticationStub
19
19
@@ -141,7 +141,7 @@ def test_conversations_send_to_conversation_with_attachment(self):
141
141
title = 'A static image' ,
142
142
text = 'JPEG image' ,
143
143
images = [
144
- CardImage (url = 'https://docs.microsoft. com/en-us/bot-framework/media/designing-bots/core/dialogs-screens.png' )
144
+ CardImage (url = 'https://docs.com/en-us/bot-framework/media/designing-bots/core/dialogs-screens.png' )
145
145
])
146
146
147
147
card2 = HeroCard (
@@ -158,8 +158,8 @@ def test_conversations_send_to_conversation_with_attachment(self):
158
158
from_property = ChannelAccount (id = BOT_ID ),
159
159
attachment_layout = AttachmentLayoutTypes .list ,
160
160
attachments = [
161
- Attachment (content_type = 'application/vnd.microsoft. card.hero' , content = card1 ),
162
- Attachment (content_type = 'application/vnd.microsoft. card.hero' , content = card2 ),
161
+ Attachment (content_type = 'application/vnd.card.hero' , content = card1 ),
162
+ Attachment (content_type = 'application/vnd.card.hero' , content = card2 ),
163
163
])
164
164
165
165
connector = ConnectorClient (self .credentials , base_url = SERVICE_URL )
0 commit comments