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