Skip to content

Commit

Permalink
Add preview information to test_result.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf committed Jan 31, 2024
1 parent 07a4870 commit b51360e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tests/test_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ def test_asdict():
"Method": "Test",
"Parameters": ["Test"],
"DontHideAfterAction": True
},
Preview={
"PreviewImagePath": "Test.png",
"Description": "Test",
"IsMedia": True,
"PreviewDeligate": None
}
)
assert r.as_dict() == {
Expand All @@ -34,7 +40,13 @@ def test_asdict():
},
"CopyText": "Test",
"AutoCompleteText": "Test",
"RoundedIcon": True
"RoundedIcon": True,
"Preview": {
"PreviewImagePath": "Test.png",
"Description": "Test",
"IsMedia": True,
"PreviewDeligate": None
}
}


Expand Down

0 comments on commit b51360e

Please sign in to comment.