Skip to content

Commit

Permalink
I also added the name parameter in the path_registry. tests changed a…
Browse files Browse the repository at this point in the history
…ccordingly
  • Loading branch information
Jgmedina95 committed Jan 29, 2024
1 parent 0770f9a commit 13dc325
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_fxns.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,17 @@ def test_map_path():
mock_json_data = {
"existing_name": {
"path": "existing/path",
"name": "path",
"description": "Existing description",
}
}
new_path_dict = {"new_name": {"path": "new/path", "description": "New description"}}
new_path_dict = {
"new_name": {
"path": "new/path",
"name": "path",
"description": "New description",
}
}
updated_json_data = {**mock_json_data, **new_path_dict}

path_registry = PathRegistry()
Expand Down

0 comments on commit 13dc325

Please sign in to comment.