Skip to content

Commit 5d649b5

Browse files
author
Priyadarshini Piramanayagam
committed
add for create model and test
1 parent de824ee commit 5d649b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nisystemlink/clients/testmonitor/models/_create_result_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CreateResultRequest(JsonModel):
3535
keywords: Optional[List[str]]
3636
"""A list of keywords that categorize this result."""
3737

38-
properties: Optional[Dict[str, str]]
38+
properties: Optional[Dict[str, Optional[str]]]
3939
"""A list of custom properties for this result."""
4040

4141
operator: Optional[str]

tests/integration/testmonitor/test_testmonitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test__create_single_result_and_get_results__at_least_one_result_exists(
122122
status = Status.PASSED()
123123
results = [
124124
CreateResultRequest(
125-
part_number=unique_identifier, program_name=program_name, status=status
125+
part_number=unique_identifier, program_name=program_name, status=status, properties={"test": None}
126126
)
127127
]
128128
create_results(results)

0 commit comments

Comments
 (0)