We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Add tests for SkillHttpClient
see dotnet and javascript imp

[enhancement]


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py`
Content:
```
1 # Copyright (c) Microsoft Corporation. All rights reserved.
2 # Licensed under the MIT License.
3 
4 from logging import Logger
5 
6 from botbuilder.core import InvokeResponse
7 from botbuilder.integration.aiohttp import BotFrameworkHttpClient
8 from botbuilder.core.skills import (
9     ConversationIdFactoryBase,
10     SkillConversationIdFactoryOptions,
11     BotFrameworkSkill,
12 )
13 from botbuilder.schema import Activity
14 from botframework.connector.auth import (
15     AuthenticationConstants,
16     ChannelProvider,
17     GovernmentConstants,
18     SimpleCredentialProvider,
19 )
20 
21 
22 class SkillHttpClient(BotFrameworkHttpClient):
23     def __init__(
24         self,
25         credential_provider: SimpleCredentialProvider,
26         skill_conversation_id_factory: ConversationIdFactoryBase,
27         channel_provider: ChannelProvider = None,
28         logger: Logger = None,
29     ):
30         if not skill_conversation_id_factory:
31             raise TypeError(
32                 "SkillHttpClient(): skill_conversation_id_factory can't be None"
33             )
34 
35         super().__init__(credential_provider)
36 
37         self._skill_conversation_id_factory = skill_conversation_id_factory
38         self._channel_provider = channel_provider
39 
40     async def post_activity_to_skill(
41         self,
42         from_bot_id: str,
43         to_skill: BotFrameworkSkill,
44         service_url: str,
45         activity: Activity,
46         originating_audience: str = None,
47     ) -> InvokeResponse:
48 
49         if originating_audience is None:
50             originating_audience = (
51                 GovernmentConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE
52                 if self._channel_provider is not None
53                 and self._channel_provider.IsGovernment()
54                 else AuthenticationConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE
55             )
56 
57         options = SkillConversationIdFactoryOptions(
58             from_bot_oauth_scope=originating_audience,
59             from_bot_id=from_bot_id,
60             activity=activity,
61             bot_framework_skill=to_skill,
62         )
63 
64         skill_conversation_id = await self._skill_conversation_id_factory.create_skill_conversation_id(
65             options
66         )
67 
68         return await super().post_activity(
69             from_bot_id,
70             to_skill.app_id,
71             to_skill.skill_endpoint,
72             service_url,
73             skill_conversation_id,
74             activity,
75         )
76
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py b/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py
--- a/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py
+++ b/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py
@@ -50,7 +50,7 @@
             originating_audience = (
                 GovernmentConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE
                 if self._channel_provider is not None
-                and self._channel_provider.IsGovernment()
+                and self._channel_provider.is_government()
                 else AuthenticationConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE
             )

{"golden_diff": "diff --git a/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py b/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py\n--- a/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py\n+++ b/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py\n@@ -50,7 +50,7 @@\n             originating_audience = (\n                 GovernmentConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE\n                 if self._channel_provider is not None\n-                and self._channel_provider.IsGovernment()\n+                and self._channel_provider.is_government()\n                 else AuthenticationConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE\n             )\n", "issue": "Add tests for SkillHttpClient\nsee dotnet and javascript imp\r\n\r\n[enhancement]\r\n\n", "before_files": [{"content": "# Copyright (c) Microsoft Corporation. All rights reserved.\n# Licensed under the MIT License.\n\nfrom logging import Logger\n\nfrom botbuilder.core import InvokeResponse\nfrom botbuilder.integration.aiohttp import BotFrameworkHttpClient\nfrom botbuilder.core.skills import (\n    ConversationIdFactoryBase,\n    SkillConversationIdFactoryOptions,\n    BotFrameworkSkill,\n)\nfrom botbuilder.schema import Activity\nfrom botframework.connector.auth import (\n    AuthenticationConstants,\n    ChannelProvider,\n    GovernmentConstants,\n    SimpleCredentialProvider,\n)\n\n\nclass SkillHttpClient(BotFrameworkHttpClient):\n    def __init__(\n        self,\n        credential_provider: SimpleCredentialProvider,\n        skill_conversation_id_factory: ConversationIdFactoryBase,\n        channel_provider: ChannelProvider = None,\n        logger: Logger = None,\n    ):\n        if not skill_conversation_id_factory:\n            raise TypeError(\n                \"SkillHttpClient(): skill_conversation_id_factory can't be None\"\n            )\n\n        super().__init__(credential_provider)\n\n        self._skill_conversation_id_factory = skill_conversation_id_factory\n        self._channel_provider = channel_provider\n\n    async def post_activity_to_skill(\n        self,\n        from_bot_id: str,\n        to_skill: BotFrameworkSkill,\n        service_url: str,\n        activity: Activity,\n        originating_audience: str = None,\n    ) -> InvokeResponse:\n\n        if originating_audience is None:\n            originating_audience = (\n                GovernmentConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE\n                if self._channel_provider is not None\n                and self._channel_provider.IsGovernment()\n                else AuthenticationConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE\n            )\n\n        options = SkillConversationIdFactoryOptions(\n            from_bot_oauth_scope=originating_audience,\n            from_bot_id=from_bot_id,\n            activity=activity,\n            bot_framework_skill=to_skill,\n        )\n\n        skill_conversation_id = await self._skill_conversation_id_factory.create_skill_conversation_id(\n            options\n        )\n\n        return await super().post_activity(\n            from_bot_id,\n            to_skill.app_id,\n            to_skill.skill_endpoint,\n            service_url,\n            skill_conversation_id,\n            activity,\n        )\n", "path": "libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py"}], "after_files": [{"content": "# Copyright (c) Microsoft Corporation. All rights reserved.\n# Licensed under the MIT License.\n\nfrom logging import Logger\n\nfrom botbuilder.core import InvokeResponse\nfrom botbuilder.integration.aiohttp import BotFrameworkHttpClient\nfrom botbuilder.core.skills import (\n    ConversationIdFactoryBase,\n    SkillConversationIdFactoryOptions,\n    BotFrameworkSkill,\n)\nfrom botbuilder.schema import Activity\nfrom botframework.connector.auth import (\n    AuthenticationConstants,\n    ChannelProvider,\n    GovernmentConstants,\n    SimpleCredentialProvider,\n)\n\n\nclass SkillHttpClient(BotFrameworkHttpClient):\n    def __init__(\n        self,\n        credential_provider: SimpleCredentialProvider,\n        skill_conversation_id_factory: ConversationIdFactoryBase,\n        channel_provider: ChannelProvider = None,\n        logger: Logger = None,\n    ):\n        if not skill_conversation_id_factory:\n            raise TypeError(\n                \"SkillHttpClient(): skill_conversation_id_factory can't be None\"\n            )\n\n        super().__init__(credential_provider)\n\n        self._skill_conversation_id_factory = skill_conversation_id_factory\n        self._channel_provider = channel_provider\n\n    async def post_activity_to_skill(\n        self,\n        from_bot_id: str,\n        to_skill: BotFrameworkSkill,\n        service_url: str,\n        activity: Activity,\n        originating_audience: str = None,\n    ) -> InvokeResponse:\n\n        if originating_audience is None:\n            originating_audience = (\n                GovernmentConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE\n                if self._channel_provider is not None\n                and self._channel_provider.is_government()\n                else AuthenticationConstants.TO_CHANNEL_FROM_BOT_OAUTH_SCOPE\n            )\n\n        options = SkillConversationIdFactoryOptions(\n            from_bot_oauth_scope=originating_audience,\n            from_bot_id=from_bot_id,\n            activity=activity,\n            bot_framework_skill=to_skill,\n        )\n\n        skill_conversation_id = await self._skill_conversation_id_factory.create_skill_conversation_id(\n            options\n        )\n\n        return await super().post_activity(\n            from_bot_id,\n            to_skill.app_id,\n            to_skill.skill_endpoint,\n            service_url,\n            skill_conversation_id,\n            activity,\n        )\n", "path": "libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/skills/skill_http_client.py"}]}