Skip to content

Commit

Permalink
chore: docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Jan 7, 2025
1 parent 17a8d06 commit 0ff23f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_bump_schema_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def test_get_list_of_incremented_versions(self, mock_get_schema: MagicMock):
new_session_version = str(Version.parse(old_session_version).bump_patch())

def side_effect(model):
"""Side effect for mock_get_schema"""
if model == Subject:
return {"properties": {"schema_version": {"default": old_subject_version}}}
elif model == Session:
Expand Down Expand Up @@ -151,6 +152,7 @@ def test_run_job(
mock_get_list_of_models.return_value = [Subject, Session]

def side_effect(model):
"""Return values for get_schema_json"""
if model == Subject:
return {"properties": {"schema_version": {"default": old_subject_version}}}
elif model == Session:
Expand Down

0 comments on commit 0ff23f6

Please sign in to comment.