Skip to content

Commit

Permalink
Added placeholder unit tests for new models
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmkenney committed Jul 17, 2024
1 parent da17e45 commit b7f63d4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions alchemiscale/tests/unit/test_storage_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b7f63d4

Please sign in to comment.