Sign in
Register
Home
Projects
Help
Search
:
Paris Hackday Code
Overview
Members
Activity
Repository
Code docs
FFmpeg
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
musixmatch-master
tests
musixmatch-master/tests/artist.py
Go to the documentation of this file.
1
from
musixmatch
import
*
2
from
tests
import
base
3
4
class
TestArtist
(
base.TestItem
):
5
Class =
artist.Artist
6
item = {
7
"artist_id"
:
"292"
,
8
"artist_mbid"
:
"292"
,
9
}
10
item_str =
"{ 'artist_id': '292',\n 'artist_mbid': '292'}"
11
item_repr =
"Artist({'artist_mbid': '292', 'artist_id': '292'})"
12
item_hash = 292
13
14
class
TestArtistsCollection
(
base.TestCollection
):
15
CollectionClass =
artist.ArtistsCollection
16
AllowedContentClass = artist.ArtistsCollection.allowedin()
17
item_list =
'artist_list'
18
item_id =
'artist_id'
19
item =
'artist'
20
message = {
21
"body"
: {
22
"artist_list"
: [
23
{
24
"artist"
: {
25
"artist_id"
:
"292"
,
26
"artist_mbid"
:
"292"
,
27
}
28
},
29
{
30
"artist"
: {
31
"artist_id"
:
"8976"
,
32
"artist_mbid"
:
"8976"
,
33
}
34
},
35
{
36
"artist"
: {
37
"artist_id"
:
"9673"
,
38
"artist_mbid"
:
"9673"
,
39
}
40
}
41
]
42
},
43
"header"
: {
44
"execute_time"
: 0.14144802093506001,
45
"status_code"
: 200
46
}
47
}
48
musixmatch.artist.ArtistsCollection
Definition:
musixmatch-master/build/lib/musixmatch/artist.py:40
tests.artist.TestArtist
Definition:
musixmatch-master/tests/artist.py:4
tests.base.TestCollection
Definition:
musixmatch-master/tests/base.py:42
tests.base.TestItem
Definition:
musixmatch-master/tests/base.py:10
musixmatch.artist.Artist
Definition:
musixmatch-master/build/lib/musixmatch/artist.py:21
tests.artist.TestArtistsCollection
Definition:
musixmatch-master/tests/artist.py:14
Generated on Mon Nov 18 2024 06:51:52 for FFmpeg by
1.8.11
Loading...