From b69523931853aaaba7c05cd34c81bf460292898e Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Mon, 15 May 2023 16:32:45 +0200 Subject: [PATCH] num_basis is not implemented; tests are expected to fail --- test/test_black_box.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_black_box.py b/test/test_black_box.py index 5ade1ae..1b9e8e2 100644 --- a/test/test_black_box.py +++ b/test/test_black_box.py @@ -158,7 +158,9 @@ def test_context_space(mp_type: str, env_wrap: Tuple[str, Type[RawInterfaceWrapp @pytest.mark.parametrize('mp_type', ['promp', 'dmp', 'prodmp']) @pytest.mark.parametrize('num_dof', [0, 1, 2, 5]) -@pytest.mark.parametrize('num_basis', [0, 1, 2, 5]) +@pytest.mark.parametrize('num_basis', [ + pytest.param(0, marks=pytest.mark.xfail(reason="Basis Length 0 is not yet implemented.")), + 1, 2, 5]) @pytest.mark.parametrize('learn_tau', [True, False]) @pytest.mark.parametrize('learn_delay', [True, False]) def test_action_space(mp_type: str, num_dof: int, num_basis: int, learn_tau: bool, learn_delay: bool):