We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cf64de commit 245f7a6Copy full SHA for 245f7a6
tests/test_bot.py
@@ -9,9 +9,9 @@ def test_list_published_bots_v1(self):
9
space_id = os.getenv('SPACE_ID_1').strip()
10
token = os.getenv('COZE_TOKEN').strip()
11
for i in token:
12
- print('token',i)
+ print('token', i)
13
auth = PersonalAccessToken(token)
14
- cli = Coze(auth=auth)
+ cli = Coze(auth=auth, base_url='https://api.coze.cn')
15
16
res = cli.bot.list_published_bots_v1(space_id=space_id, page_size=2)
17
assert res.total > 1
0 commit comments