haddock3 / data /tests /test_exceptions.py
introvoyz042's picture
Migrated from GitHub
5631464 verified
Raw History Blame Contribute Delete
232 Bytes
"""Test exceptions module."""
import pytest
from haddock.core.exceptions import CNSRunningError
def test_cns_error():
"""Test CNS error."""
with pytest.raises(CNSRunningError):
raise CNSRunningError(b'something')