Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ylabonte committed Aug 20, 2024
1 parent 160b893 commit 0f85e32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,10 @@ def test_post_data_property(self):
self.assertEqual(post_data["CH9_16"], "80,90,100,110,120,130,140,150")
self.assertEqual(post_data["DMX512"], "1")
payload = "&".join([f"{k}={v}" for k, v in post_data.items()])
self.assertEqual(payload, "TYPE=0&LEN=16&CH1_8=0,10,20,30,40,50,60,70&CH9_16=80,90,100,110,120,130,140,150&DMX512=1")
self.assertEqual(
payload,
"TYPE=0&LEN=16&CH1_8=0,10,20,30,40,50,60,70&CH9_16=80,90,100,110,120,130,140,150&DMX512=1",
)

def test_string_conversion(self):
"""Test the string conversion method of the GetDmxData class."""
Expand Down

0 comments on commit 0f85e32

Please sign in to comment.