Skip to content

Commit c7abb3c

Browse files
allenporterCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent a8b96a8 commit c7abb3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/devices/traits/v1/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def test_fake_trait_bad_payload() -> None:
4444

4545

4646
async def test_valid_payload() -> None:
47-
"""Test that parsing a bad payload throws a helpful parsing error."""
47+
"""Test that a valid payload is parsed successfully into trait fields."""
4848
trait = FakeTrait()
4949
trait._rpc_channel.send_command.return_value = [{"fake_field": 123, "other_field": "abc"}]
5050
await trait.refresh()

0 commit comments

Comments
 (0)