Skip to content
Snippets Groups Projects
Commit 55942093 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Update exception type in test

parent 01cee03f
No related branches found
No related tags found
1 merge request!780[LPD] use memory cell order as condition for constants
...@@ -253,7 +253,7 @@ def test_raise_get_from_db(_agipd_const_cond): ...@@ -253,7 +253,7 @@ def test_raise_get_from_db(_agipd_const_cond):
assert str(excinfo.value) == "Resource temporarily unavailable" assert str(excinfo.value) == "Resource temporarily unavailable"
# Wrong type for creation_time. # Wrong type for creation_time.
with pytest.raises(ValueError): with pytest.raises(TypeError):
_call_get_from_db( _call_get_from_db(
constant=constant, condition=condition, constant=constant, condition=condition,
karabo_id=AGIPD_KARABO_ID, karabo_da="AGIPD00", karabo_id=AGIPD_KARABO_ID, karabo_da="AGIPD00",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment