Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Commit

Permalink
tests: Update test_client to new client constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed Jun 29, 2019
1 parent 6c1184a commit 5256610
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/core_tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ class Bot(MagicMock):


class TestClient(Client): # pylint: disable=abstract-method
_type = 'TestClient'
_connected = False

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self, bot, *args, **kwargs):
super().__init__(bot, 'TestClient', *args, **kwargs)
self.active = True

@property
Expand Down

0 comments on commit 5256610

Please sign in to comment.