File size: 232 Bytes
5631464
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"""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')