Skip to content

Commit

Permalink
test: Add sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
anth-volk committed Oct 21, 2024
1 parent b9352b1 commit a0a6bfa
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions tests/core/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,29 @@ def test_write_yaml():
"values": {
"2015-01-01": {"value": 550},
"2016-01-01": {"value": 600},
}
},
"branch_name": "default",
"description": "The amount of the basic income",
"documentation": None,
"file_path": "test_path/to/file/1",
# "metadata": Unclear yet what form this dict takes
"modified": False,
"trace": True,
"tracer": None,
},
"min_age": {
"values": {
"2015-01-01": {"value": 25},
"2016-01-01": {"value": 18},
}
},
"branch_name": "labor_supply_1",
"description": "The minimum age to receive the basic income",
"documentation": None,
"file_path": "test_path/to/file/2",
# "metadata": Unclear yet what form this dict takes
"modified": True,
"trace": False,
"tracer": None,
},
}
parameter = ParameterNode("root", data=parameter_data)
Expand Down

0 comments on commit a0a6bfa

Please sign in to comment.