Skip to content

Commit

Permalink
Checkpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Sep 9, 2024
1 parent b0a75f3 commit 54d7848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests-unit/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def mock_yaml_content():
return {
'test_config': {
'base_path': '~/App/',
'model1': 'subfolder1',
'checkpoints': 'subfolder1',
}
}

Expand Down Expand Up @@ -53,7 +53,7 @@ def test_load_extra_model_paths_expands_userpath(
load_extra_path_config(dummy_yaml_file_name)

expected_calls = [
('model1', os.path.join(mock_expanded_home, 'App', 'subfolder1')),
('checkpoints', os.path.join(mock_expanded_home, 'App', 'subfolder1')),
]

assert mock_add_model_folder_path.call_count == len(expected_calls)
Expand Down

0 comments on commit 54d7848

Please sign in to comment.