mirror of
https://github.com/2061360308/NeteaseCloudMusic_PythonSDK.git
synced 2024-11-25 16:12:15 +00:00
10 lines
333 B
Plaintext
10 lines
333 B
Plaintext
def test_{{apiName}}(extra):
|
|
"""
|
|
{{explain}}
|
|
"""
|
|
|
|
example = {{example}}
|
|
for query in example:
|
|
response = netease_cloud_music_api.request("{{apiName}}", query)
|
|
extra.append(extras.json(response, name="response"))
|
|
assert (response["code"] == 200 or response["data"]["code"] == 200) |