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/album.py
Go to the documentation of this file.
1
from
musixmatch
import
*
2
from
tests
import
base
3
4
class
TestAlbum
(
base.TestItem
):
5
Class =
album.Album
6
item = {
7
"album_id"
:
"292"
,
8
"album_name"
:
"292"
,
9
}
10
item_str =
"{ 'album_id': '292',\n 'album_name': '292'}"
11
item_repr =
"Album({'album_name': '292', 'album_id': '292'})"
12
item_hash = 292
13
14
class
TestAlbumsCollection
(
base.TestCollection
):
15
CollectionClass =
album.AlbumsCollection
16
AllowedContentClass = album.AlbumsCollection.allowedin()
17
item_list =
'album_list'
18
item_id =
'album_id'
19
item =
'album'
20
message = {
21
"body"
: {
22
"album_list"
: [
23
{
24
"album"
: {
25
"album_id"
:
"292"
,
26
"album_name"
:
"292"
,
27
}
28
},
29
{
30
"album"
: {
31
"album_id"
:
"8976"
,
32
"album_name"
:
"8976"
,
33
}
34
},
35
{
36
"album"
: {
37
"album_id"
:
"9673"
,
38
"album_name"
:
"9673"
,
39
}
40
}
41
]
42
},
43
"header"
: {
44
"execute_time"
: 0.14144802093506001,
45
"status_code"
: 200
46
}
47
}
48
musixmatch.album.Album
Definition:
musixmatch-master/build/lib/musixmatch/album.py:21
tests.base.TestCollection
Definition:
musixmatch-master/tests/base.py:42
musixmatch.album.AlbumsCollection
Definition:
musixmatch-master/build/lib/musixmatch/album.py:43
tests.album.TestAlbum
Definition:
musixmatch-master/tests/album.py:4
tests.base.TestItem
Definition:
musixmatch-master/tests/base.py:10
tests.album.TestAlbumsCollection
Definition:
musixmatch-master/tests/album.py:14
Generated on Mon Nov 18 2024 06:51:51 for FFmpeg by
1.8.11
Loading...