From b7f63d4909e9e5ee3852a0dc7efa1e29e6327566 Mon Sep 17 00:00:00 2001 From: Ian Kenney Date: Wed, 17 Jul 2024 15:41:08 -0700 Subject: [PATCH] Added placeholder unit tests for new models --- .../tests/unit/test_storage_models.py | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/alchemiscale/tests/unit/test_storage_models.py b/alchemiscale/tests/unit/test_storage_models.py index 36678b9a..68c9b8c7 100644 --- a/alchemiscale/tests/unit/test_storage_models.py +++ b/alchemiscale/tests/unit/test_storage_models.py @@ -38,3 +38,37 @@ def test_suggested_states_message(self): assert len(suggested_states) == len(NetworkStateEnum) for state in suggested_states: NetworkStateEnum(state) + + +class TestTaskRestartPattern(object): + + @pytest.mark.xfail(raises=NotImplementedError) + def test_empty_pattern(self): + raise NotImplementedError + + @pytest.mark.xfail(raises=NotImplementedError) + def test_negative_max_retries(self): + raise NotImplementedError + + @pytest.mark.xfail(raises=NotImplementedError) + def test_non_int_max_retries(self): + raise NotImplementedError + + @pytest.mark.xfail(raises=NotImplementedError) + def test_to_dict(self): + raise NotImplementedError + + @pytest.mark.xfail(raises=NotImplementedError) + def test_from_dict(self): + raise NotImplementedError + + +class TestTraceback(object): + + @pytest.mark.xfail(raises=NotImplementedError) + def test_to_dict(self): + raise NotImplementedError + + @pytest.mark.xfail(raises=NotImplementedError) + def test_from_dict(self): + raise NotImplementedError