Private GIT

Skip to content
Snippets Groups Projects
Commit e25a4c95 authored by labrys's avatar labrys
Browse files

Fix skipping test

PEP 8: Optimize imports
parent 6b0f1ce6
No related branches found
No related tags found
No related merge requests found
......@@ -4,16 +4,16 @@
Test exceptions helpers
"""
import sys
# pylint: disable=line-too-long
import os.path
import sys
import unittest
# pylint: disable=line-too-long
sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), '../lib')))
sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from sickrage.helper.exceptions import ex
from sickbeard import ex
class ExceptionsHelperTestCase(unittest.TestCase):
......@@ -47,7 +47,7 @@ class ExceptionsHelperTestCase(unittest.TestCase):
self.assertEqual(ex(Exception('hi')), 'hi')
# TODO why doesn't this work?@
@unittest.expectedFailure
@unittest.skip('Errors with unicode conversion')
def test_ex_ret_args_ustring(self):
"""
Test exception returns args ustring
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment