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

Added test

parent 8f4ad6b9
No related branches found
No related tags found
1 merge request!167Make workflow accessible via application
......@@ -8,6 +8,8 @@ from force_bdss.bdss_application import (
_load_failure_callback,
_import_extensions
)
from force_bdss.core.workflow import Workflow
from force_bdss.tests import fixtures
try:
import mock
......@@ -48,3 +50,11 @@ class TestBDSSApplication(unittest.TestCase):
_import_extensions(plugins, ext)
self.assertEqual(plugins[0], plugin)
def test_workflow(self):
with testfixtures.LogCapture():
with warnings.catch_warnings():
warnings.simplefilter("ignore")
app = BDSSApplication(False, fixtures.get("test_empty.json"))
self.assertIsInstance(app.workflow, Workflow)
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