Skip to content

Commit

Permalink
fix hanging test
Browse files Browse the repository at this point in the history
  • Loading branch information
mohyour committed Sep 14, 2022
1 parent 4f661ee commit d3d7171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ably/realtime/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import websockets
import json
from ably.util.exceptions import AblyAuthException
from enum import Enum
from enum import Enum, IntEnum

log = logging.getLogger(__name__)

Expand All @@ -17,7 +17,7 @@ class ConnectionState(Enum):
FAILED = 'failed'


class ProtocolMessageAction(Enum):
class ProtocolMessageAction(IntEnum):
CONNECTED = 4
ERROR = 9

Expand Down

0 comments on commit d3d7171

Please sign in to comment.