You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

test_translate.py 244 B

123456789
  1. import pytest
  2. def test_import_main():
  3. from dora_opus.main import main
  4. # Check that everything is working, and catch dora Runtime Exception as we're not running in a dora dataflow.
  5. with pytest.raises(RuntimeError):
  6. main()