1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-10 04:02:17 +00:00

Reenabled skipped tests

This commit is contained in:
spl0k 2018-02-18 16:51:05 +01:00
parent 43b197a95e
commit 86892f375d
4 changed files with 0 additions and 7 deletions

View File

@ -148,7 +148,6 @@ class AnnotationTestCase(ApiTestBase):
self._make_request('scrobble', { 'id': str(uuid.uuid4()) }, error = 70) self._make_request('scrobble', { 'id': str(uuid.uuid4()) }, error = 70)
self._make_request('scrobble', { 'id': str(self.folderid) }, error = 70) self._make_request('scrobble', { 'id': str(self.folderid) }, error = 70)
self.skipTest('Weird request context/logger issue at exit')
self._make_request('scrobble', { 'id': str(self.trackid) }) self._make_request('scrobble', { 'id': str(self.trackid) })
self._make_request('scrobble', { 'id': str(self.trackid), 'submission': True }) self._make_request('scrobble', { 'id': str(self.trackid), 'submission': True })
self._make_request('scrobble', { 'id': str(self.trackid), 'submission': False }) self._make_request('scrobble', { 'id': str(self.trackid), 'submission': False })

View File

@ -132,7 +132,6 @@ class MediaTestCase(ApiTestBase):
rv, child = self._make_request('getLyrics', { 'artist': 'The Clash', 'title': 'London Calling' }, tag = 'lyrics') rv, child = self._make_request('getLyrics', { 'artist': 'The Clash', 'title': 'London Calling' }, tag = 'lyrics')
self.assertIn('live by the river', child.text) self.assertIn('live by the river', child.text)
self.skipTest('That weird logger/atexit error again')
# Local file # Local file
rv, child = self._make_request('getLyrics', { 'artist': 'artist', 'title': '23bytes' }, tag = 'lyrics') rv, child = self._make_request('getLyrics', { 'artist': 'artist', 'title': '23bytes' }, tag = 'lyrics')
self.assertIn('null', child.text) self.assertIn('null', child.text)

View File

@ -21,8 +21,6 @@ from .apitestbase import ApiTestBase
class TranscodingTestCase(ApiTestBase): class TranscodingTestCase(ApiTestBase):
def setUp(self): def setUp(self):
self.skipTest('Logging/atexit error')
super(TranscodingTestCase, self).setUp() super(TranscodingTestCase, self).setUp()
self._patch_client() self._patch_client()

View File

@ -58,7 +58,6 @@ class UserTestCase(FrontendTestBase):
def test_update_client_prefs(self): def test_update_client_prefs(self):
self._login('alice', 'Alic3') self._login('alice', 'Alic3')
self.skipTest('Hello logger')
rv = self.client.post('/user/me') rv = self.client.post('/user/me')
self.assertIn('updated', rv.data) # does nothing, says it's updated anyway self.assertIn('updated', rv.data) # does nothing, says it's updated anyway
# error cases, silently ignored # error cases, silently ignored
@ -226,12 +225,10 @@ class UserTestCase(FrontendTestBase):
self._login('alice', 'Alic3') self._login('alice', 'Alic3')
rv = self.client.get('/user/me/lastfm/link', follow_redirects = True) rv = self.client.get('/user/me/lastfm/link', follow_redirects = True)
self.assertIn('Missing LastFM auth token', rv.data) self.assertIn('Missing LastFM auth token', rv.data)
self.skipTest('logging et logger sont sur un bateau')
rv = self.client.get('/user/me/lastfm/link', query_string = { 'token': 'abcdef' }, follow_redirects = True) rv = self.client.get('/user/me/lastfm/link', query_string = { 'token': 'abcdef' }, follow_redirects = True)
self.assertIn('No API key set', rv.data) self.assertIn('No API key set', rv.data)
def test_lastfm_unlink(self): def test_lastfm_unlink(self):
self.skipTest("logger tombe a l'eau")
self._login('alice', 'Alic3') self._login('alice', 'Alic3')
rv = self.client.get('/user/me/lastfm/unlink', follow_redirects = True) rv = self.client.get('/user/me/lastfm/unlink', follow_redirects = True)
self.assertIn('Unlinked', rv.data) self.assertIn('Unlinked', rv.data)