Skip to content

Commit

Permalink
Apply equivalent Python 3 fixes to old code
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Mar 28, 2024
1 parent ca14c32 commit b48ec14
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/rdm/TestDefinitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8059,7 +8059,7 @@ class SetEndpointModeWithExtraData(TestMixins.SetWithDataMixin,
OptionalParameterTestFixture):
"""Send a SET ENDPOINT_MODE command with extra data."""
PID = 'ENDPOINT_MODE'
DATA = 'foobar'
DATA = b'foobar'


class AllSubDevicesGetEndpointLabel(TestMixins.AllSubDevicesGetMixin,
Expand Down Expand Up @@ -8178,7 +8178,7 @@ class SetEndpointTimingWithExtraData(TestMixins.SetWithDataMixin,
OptionalParameterTestFixture):
"""Send a SET ENDPOINT_TIMING command with extra data."""
PID = 'ENDPOINT_TIMING'
DATA = 'foobar'
DATA = b'foobar'


class AllSubDevicesGetEndpointTimingDescription(
Expand Down Expand Up @@ -8438,7 +8438,7 @@ class SetEndpointToUniverseWithExtraData(TestMixins.SetWithDataMixin,
OptionalParameterTestFixture):
"""Send a SET ENDPOINT_TO_UNIVERSE command with extra data."""
PID = 'ENDPOINT_TO_UNIVERSE'
DATA = 'foobar'
DATA = b'foobar'


class AllSubDevicesGetRdmTrafficEnable(TestMixins.AllSubDevicesGetMixin,
Expand Down Expand Up @@ -8498,7 +8498,7 @@ class SetRdmTrafficEnableWithExtraData(TestMixins.SetWithDataMixin,
OptionalParameterTestFixture):
"""Send a SET RDM_TRAFFIC_ENABLE command with extra data."""
PID = 'RDM_TRAFFIC_ENABLE'
DATA = 'foobar'
DATA = b'foobar'


class AllSubDevicesGetDiscoveryState(TestMixins.AllSubDevicesGetMixin,
Expand Down Expand Up @@ -8558,7 +8558,7 @@ class SetDiscoveryStateWithExtraData(TestMixins.SetWithDataMixin,
OptionalParameterTestFixture):
"""Send a SET DISCOVERY_STATE command with extra data."""
PID = 'DISCOVERY_STATE'
DATA = 'foobar'
DATA = b'foobar'


class AllSubDevicesGetBackgroundDiscovery(TestMixins.AllSubDevicesGetMixin,
Expand Down Expand Up @@ -8618,7 +8618,7 @@ class SetBackgroundDiscoveryWithExtraData(TestMixins.SetWithDataMixin,
OptionalParameterTestFixture):
"""Send a SET BACKGROUND_DISCOVERY command with extra data."""
PID = 'BACKGROUND_DISCOVERY'
DATA = 'foobar'
DATA = b'foobar'


class AllSubDevicesGetBackgroundQueuedStatusPolicy(
Expand Down

0 comments on commit b48ec14

Please sign in to comment.