10000 update botframework-connector tests to reference new namespaced packages · CodingSta/botbuilder-python@369d0fd · GitHub
[go: up one dir, main page]

Skip to content

Commit 369d0fd

Browse files
committed
update botframework-connector tests to reference new namespaced packages
1 parent da791c1 commit 369d0fd

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

libraries/botframework-connector/tests/test_attachments.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
from azure_devtools.scenario_tests import ReplayableTest
1515

1616
import msrest
17-
from microsoft.botbuilder.schema import *
18-
from microsoft.botframework.connector import ConnectorClient
19-
from microsoft.botframework.connector.auth import MicrosoftAppCredentials
17+
from botbuilder.schema import *
18+
from botframework.connector import ConnectorClient
19+
from botframework.connector.auth import MicrosoftAppCredentials
2020

2121
from .authentication_stub import MicrosoftTokenAuthenticationStub
2222

libraries/botframework-connector/tests/test_auth.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import pytest
22

3-
from microsoft.botbuilder.schema import Activity
4-
from microsoft.botframework.connector.auth import JwtTokenValidation
5-
from microsoft.botframework.connector.auth import SimpleCredentialProvider
6-
from microsoft.botframework.connector.auth import EmulatorValidation
7-
from microsoft.botframework.connector.auth import ChannelValidation
3+
from botbuilder.schema import Activity
4+
from botframework.connector.auth import JwtTokenValidation
5+
from botframework.connector.auth import SimpleCredentialProvider
6+
from botframework.connector.auth import EmulatorValidation
7+
from botframework.connector.auth import ChannelValidation
88

99
import asyncio
1010

libraries/botframework-connector/tests/test_conversations.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
import pytest
1212
from azure_devtools.scenario_tests import ReplayableTest
1313

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
1717

1818
from .authentication_stub import MicrosoftTokenAuthenticationStub
1919

@@ -141,7 +141,7 @@ def test_conversations_send_to_conversation_with_attachment(self):
141141
title='A static image',
142142
text='JPEG image',
143143
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')
145145
])
146146

147147
card2 = HeroCard(
@@ -158,8 +158,8 @@ def test_conversations_send_to_conversation_with_attachment(self):
158158
from_property=ChannelAccount(id=BOT_ID),
159159
attachment_layout=AttachmentLayoutTypes.list,
160160
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),
163163
])
164164

165165
connector = ConnectorClient(self.credentials, base_url=SERVICE_URL)

0 commit comments

Comments
 (0)
0