Skip to content

Commit

Permalink
fix: todo
Browse files Browse the repository at this point in the history
  • Loading branch information
mkundu1 committed Dec 17, 2024
1 parent 9de4cc7 commit e1a6865
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions tests/test_mapped_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,22 +618,15 @@ def test_datamodel_api_with_mapped_names(datamodel_api_version_new, new_solver_s

command_args = [
{
"helpstring": "",
"name": "xxx",
"type": "Logical",
}
]
command_args = [sorted(x.items()) for x in command_args]
ccc_args = get_static_info_value( # noqa: F841
static_info, "/commands/ccc/commandinfo/args"
)
# TODO: helpstring is not being set
# assert command_args == [sorted(x.items()) for x in ccc_args]
d_args = get_static_info_value( # noqa: F841
static_info, "/commands/D/commandinfo/args"
)
# TODO: helpstring is not being returned
# assert command_args == [sorted(x.items()) for x in d_args]
ccc_args = get_static_info_value(static_info, "/commands/ccc/commandinfo/args")
assert command_args == [sorted(x.items()) for x in ccc_args]
d_args = get_static_info_value(static_info, "/commands/D/commandinfo/args")
assert command_args == [sorted(x.items()) for x in d_args]


# TODO: what are the equivalent of following tests in Python?
Expand Down

0 comments on commit e1a6865

Please sign in to comment.