First commit
This commit is contained in:
12
dora_image_viewer/tests/test_dora_image_viewer.py
Normal file
12
dora_image_viewer/tests/test_dora_image_viewer.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""TODO: Add docstring."""
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def test_import_main():
|
||||
"""TODO: Add docstring."""
|
||||
from dora_image_viewer.main import main
|
||||
|
||||
# Check that everything is working, and catch dora Runtime Exception as we're not running in a dora dataflow.
|
||||
with pytest.raises(RuntimeError):
|
||||
main()
|
||||
Reference in New Issue
Block a user