musixmatch-master/tests/__init__.py
Go to the documentation of this file.
1 import os
2 from unittest import defaultTestLoader, TestSuite
3 import api
4 import apikey
5 import artist
6 import base
7 import lyrics
8 import subtitle
9 import track
10 import album
11 
12 suite = TestSuite()
13 suite.addTest(defaultTestLoader.loadTestsFromModule(api))
14 suite.addTest(defaultTestLoader.loadTestsFromModule(artist))
15 suite.addTest(defaultTestLoader.loadTestsFromModule(base))
16 suite.addTest(defaultTestLoader.loadTestsFromModule(lyrics))
17 suite.addTest(defaultTestLoader.loadTestsFromModule(subtitle))
18 suite.addTest(defaultTestLoader.loadTestsFromModule(track))
19 suite.addTest(defaultTestLoader.loadTestsFromModule(album))
20 # if os.environ.get('musixmatch_apikey', None):
21 # suite.addTest(defaultTestLoader.loadTestsFromModule(apikey))
22 
23 # suite.addTest(api.TestError())
24 # suite.addTest(api.TestResponseStatusCode())
25 # suite.addTest(api.TestResponseMessage())
26 # suite.addTest(api.TestXMLResponseMessage())
27 # suite.addTest(api.TestJsonResponseMessage())
28 # suite.addTest(api.TestQueryString())
29 # suite.addTest(api.TestRequest())
30 # suite.addTest(api.TestMethod())
31 # suite.addTest(base.TestBase())
32 # suite.addTest(base.TestItem())
33 # suite.addTest(base.TestCollection())
34 # suite.addTest(artist.TestArtist())
35 # suite.addTest(artist.TestArtistsCollection())
36 # suite.addTest(track.TestTrack())
37 # suite.addTest(track.TestTracksCollection())
38 # suite.addTest(lyrics.TestLyrics())
39 # suite.addTest(subtitle.TestSubtitle())