We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86d7400 commit 4849301Copy full SHA for 4849301
src/wechaty/plugin.py
@@ -849,7 +849,6 @@ async def start(self) -> None:
849
task = self.app.run_task(
850
host=host,
851
port=port,
852
- use_reloader=False,
853
shutdown_trigger=shutdown_trigger
854
)
855
loop = asyncio.get_event_loop()
tests/wechaty_test.py
@@ -2,10 +2,14 @@
2
Unit test
3
"""
4
import pytest
5
+import os
6
from wechaty_puppet import WechatyPuppetConfigurationError
7
from wechaty import Wechaty, WechatyOptions
8
9
def test_constructor():
10
+ # remove environment variables
11
+ os.environ.pop("token")
12
+
13
with pytest.raises(WechatyPuppetConfigurationError):
14
bot = Wechaty()
15
0 commit comments