From 86892f375d8c1dac8f368b535fdc8cfd19d0df87 Mon Sep 17 00:00:00 2001 From: spl0k Date: Sun, 18 Feb 2018 16:51:05 +0100 Subject: [PATCH] Reenabled skipped tests --- tests/api/test_annotation.py | 1 - tests/api/test_media.py | 1 - tests/api/test_transcoding.py | 2 -- tests/frontend/test_user.py | 3 --- 4 files changed, 7 deletions(-) diff --git a/tests/api/test_annotation.py b/tests/api/test_annotation.py index 0412714..1f32a02 100644 --- a/tests/api/test_annotation.py +++ b/tests/api/test_annotation.py @@ -148,7 +148,6 @@ class AnnotationTestCase(ApiTestBase): self._make_request('scrobble', { 'id': str(uuid.uuid4()) }, 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), 'submission': True }) self._make_request('scrobble', { 'id': str(self.trackid), 'submission': False }) diff --git a/tests/api/test_media.py b/tests/api/test_media.py index 347f493..cae1b6d 100644 --- a/tests/api/test_media.py +++ b/tests/api/test_media.py @@ -132,7 +132,6 @@ class MediaTestCase(ApiTestBase): rv, child = self._make_request('getLyrics', { 'artist': 'The Clash', 'title': 'London Calling' }, tag = 'lyrics') self.assertIn('live by the river', child.text) - self.skipTest('That weird logger/atexit error again') # Local file rv, child = self._make_request('getLyrics', { 'artist': 'artist', 'title': '23bytes' }, tag = 'lyrics') self.assertIn('null', child.text) diff --git a/tests/api/test_transcoding.py b/tests/api/test_transcoding.py index 89df996..1ae4c63 100644 --- a/tests/api/test_transcoding.py +++ b/tests/api/test_transcoding.py @@ -21,8 +21,6 @@ from .apitestbase import ApiTestBase class TranscodingTestCase(ApiTestBase): def setUp(self): - self.skipTest('Logging/atexit error') - super(TranscodingTestCase, self).setUp() self._patch_client() diff --git a/tests/frontend/test_user.py b/tests/frontend/test_user.py index fcdd0b3..850853a 100644 --- a/tests/frontend/test_user.py +++ b/tests/frontend/test_user.py @@ -58,7 +58,6 @@ class UserTestCase(FrontendTestBase): def test_update_client_prefs(self): self._login('alice', 'Alic3') - self.skipTest('Hello logger') rv = self.client.post('/user/me') self.assertIn('updated', rv.data) # does nothing, says it's updated anyway # error cases, silently ignored @@ -226,12 +225,10 @@ class UserTestCase(FrontendTestBase): self._login('alice', 'Alic3') rv = self.client.get('/user/me/lastfm/link', follow_redirects = True) 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) self.assertIn('No API key set', rv.data) def test_lastfm_unlink(self): - self.skipTest("logger tombe a l'eau") self._login('alice', 'Alic3') rv = self.client.get('/user/me/lastfm/unlink', follow_redirects = True) self.assertIn('Unlinked', rv.data)