Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/components/google_pubsub/test_pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from homeassistant.components.google_pubsub import DateTimeJSONEncoder as victim


class TestDateTimeJSONEncoder(object):
class TestDateTimeJSONEncoder:
"""Bundle for DateTimeJSONEncoder tests."""

def test_datetime(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/components/mqtt/test_light_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
}


class JsonValidator(object):
class JsonValidator:
"""Helper to compare JSON."""

def __init__(self, jsondata):
Expand Down
2 changes: 1 addition & 1 deletion tests/components/roku/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
UPNP_SERIAL = "1GU48T017973"


class MockDeviceInfo(object):
class MockDeviceInfo:
"""Mock DeviceInfo for Roku."""

model_name = NAME
Expand Down
4 changes: 2 additions & 2 deletions tests/components/vizio/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
PIN = "abcd"


class MockStartPairingResponse(object):
class MockStartPairingResponse:
"""Mock Vizio start pairing response."""

def __init__(self, ch_type: int, token: int) -> None:
Expand All @@ -56,7 +56,7 @@ def __init__(self, ch_type: int, token: int) -> None:
self.token = token


class MockCompletePairingResponse(object):
class MockCompletePairingResponse:
"""Mock Vizio complete pairing response."""

def __init__(self, auth_token: str) -> None:
Expand Down