Skip crosswalk.com test while server down

This commit is contained in:
Ken Roberts 2016-05-05 12:37:48 -07:00
parent 72fc30d600
commit 9ac95cf665
2 changed files with 5 additions and 5 deletions

View File

@ -55,10 +55,9 @@ def trace_error_handler(logger):
""" """
log_string = "OpenLP Error trace" log_string = "OpenLP Error trace"
for tb in traceback.extract_stack(): for tb in traceback.extract_stack():
log_string = '{text}\n File {file} at line {line} \n\t called {data}'.format(text=log_string, log_string += '\n File {file} at line {line} \n\t called {data}'.format(file=tb[0],
file=tb[0], line=tb[1],
line=tb[1], data=tb[3])
data=tb[3])
logger.error(log_string) logger.error(log_string)

View File

@ -22,7 +22,7 @@
""" """
Package to test the openlp.plugin.bible.lib.https package. Package to test the openlp.plugin.bible.lib.https package.
""" """
from unittest import TestCase from unittest import TestCase, skip
from openlp.core.common import Registry from openlp.core.common import Registry
from openlp.plugins.bibles.lib.http import BGExtract, CWExtract, BSExtract from openlp.plugins.bibles.lib.http import BGExtract, CWExtract, BSExtract
@ -146,6 +146,7 @@ class TestBibleHTTP(TestCase):
self.assertIsNotNone(bibles) self.assertIsNotNone(bibles)
self.assertIn(('Holman Christian Standard Bible', 'HCSB', 'en'), bibles) self.assertIn(('Holman Christian Standard Bible', 'HCSB', 'en'), bibles)
@skip("Waiting for Crosswalk to fix their server")
def crosswalk_get_bibles_test(self): def crosswalk_get_bibles_test(self):
""" """
Test getting list of bibles from Crosswalk.com Test getting list of bibles from Crosswalk.com