one more test

This commit is contained in:
Martin Diehl 2019-12-04 10:20:03 +01:00
parent 1110affec2
commit 07e9778798
1 changed files with 4 additions and 0 deletions

View File

@ -55,3 +55,7 @@ class TestTable:
x = default.get_array('v') x = default.get_array('v')
with pytest.raises(ValueError): with pytest.raises(ValueError):
default.set_array('F',x,'does not work') default.set_array('F',x,'does not work')
def test_invalid_get_array(self,default):
with pytest.raises(KeyError):
default.get_array('n')