Skip to content

Commit e8ff733

Browse files
added test
1 parent 3e220d9 commit e8ff733

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/test_methods.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,17 @@ def test_unknown_method(self) -> None:
326326
kind=kind,
327327
)
328328

329+
with pytest.raises(UnknownMethodError):
330+
CMethods().pool_adjust(
331+
params=dict(
332+
method="distribution_mapping",
333+
obs=self.data[kind]["obsh"],
334+
simh=self.data[kind]["simh"],
335+
simp=self.data[kind]["simp"],
336+
kind=kind,
337+
)
338+
)
339+
329340
def test_not_implemented_methods(self) -> None:
330341
kind = "+"
331342
with pytest.raises(ValueError):

0 commit comments

Comments
 (0)