Skip to content

Commit cb00999

Browse files
committed
added test
1 parent a66b1db commit cb00999

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/common/test_exceptions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ def test_empty_evaluator_exc():
99
assert "no data" in str(e)
1010

1111

12+
def test_empty_cache_error_exc():
13+
with pytest.raises(exc.EmptyCacheError) as e:
14+
raise exc.EmptyCacheError()
15+
assert "no data" in str(e)
16+
17+
1218
def test_cache_error_exc():
1319
with pytest.raises(exc.InternalCacheError) as e:
1420
raise exc.InternalCacheError("custom message")

0 commit comments

Comments
 (0)