forked from openlp/openlp
Fix a test that was causing a segfault
This commit is contained in:
parent
3d39e2c77d
commit
05a39cb7ea
@ -49,12 +49,12 @@ class TestBibleImportForm(TestCase, TestMixin):
|
||||
bibleimportform.PYSWORD_AVAILABLE = False
|
||||
self.form = bibleimportform.BibleImportForm(self.main_window, MagicMock(), MagicMock())
|
||||
|
||||
def tearDown(self):
|
||||
"""
|
||||
Delete all the C++ objects at the end so that we don't have a segfault
|
||||
"""
|
||||
del self.form
|
||||
del self.main_window
|
||||
# def tearDown(self):
|
||||
# """
|
||||
# Delete all the C++ objects at the end so that we don't have a segfault
|
||||
# """
|
||||
# del self.form
|
||||
# del self.main_window
|
||||
|
||||
@patch('openlp.plugins.bibles.forms.bibleimportform.CWExtract.get_bibles_from_http')
|
||||
@patch('openlp.plugins.bibles.forms.bibleimportform.BGExtract.get_bibles_from_http')
|
||||
|
Loading…
Reference in New Issue
Block a user