Skip to content
Snippets Groups Projects
Commit 01b19bd8 authored by Stefano Borini's avatar Stefano Borini
Browse files

Silence log error in testsuite

parent 61b6a8f8
No related branches found
No related tags found
1 merge request!165Silences a log message in the testsuite.
......@@ -17,9 +17,10 @@ except ImportError:
class TestBDSSApplication(unittest.TestCase):
def test_initialization(self):
with warnings.catch_warnings():
warnings.simplefilter("ignore")
app = BDSSApplication(False, "foo/bar")
with testfixtures.LogCapture():
with warnings.catch_warnings():
warnings.simplefilter("ignore")
app = BDSSApplication(False, "foo/bar")
self.assertFalse(app.evaluate)
self.assertEqual(app.workflow_filepath, "foo/bar")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment