Removal of old style class definitions in tests (#33671)

This commit is contained in:
Franck Nijhof 2020-04-05 02:21:07 +02:00 committed by GitHub
parent 03dd92d51b
commit 262b01d632
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -47,7 +47,7 @@ RESPONSE_TOKEN = 1234
PIN = "abcd"
class MockStartPairingResponse(object):
class MockStartPairingResponse:
"""Mock Vizio start pairing response."""
def __init__(self, ch_type: int, token: int) -> None:
@ -56,7 +56,7 @@ class MockStartPairingResponse(object):
self.token = token
class MockCompletePairingResponse(object):
class MockCompletePairingResponse:
"""Mock Vizio complete pairing response."""
def __init__(self, auth_token: str) -> None: