We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a66b1db commit cb00999Copy full SHA for cb00999
1 file changed
tests/common/test_exceptions.py
@@ -9,6 +9,12 @@ def test_empty_evaluator_exc():
9
assert "no data" in str(e)
10
11
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
18
def test_cache_error_exc():
19
with pytest.raises(exc.InternalCacheError) as e:
20
raise exc.InternalCacheError("custom message")
0 commit comments