import pytest def test_import_main(): from dora_opus.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()