mirror of
https://github.com/socialwifi/RouterOS-api.git
synced 2025-09-01 15:35:49 +02:00
Remove include done flag.
This commit is contained in:
parent
cd5665813d
commit
9628654db4
5 changed files with 33 additions and 33 deletions
|
@ -14,8 +14,8 @@ class TestCommunicator(TestCase):
|
|||
base.receive_sentence.return_value = [b'!done', b'=ret=some-hex',
|
||||
b'.tag=1']
|
||||
communicator = api_communicator.ApiCommunicator(base)
|
||||
response = communicator.call('/', 'login', include_done=True).get()
|
||||
self.assertEqual(response[0]['ret'], b'some-hex')
|
||||
response = communicator.call('/', 'login').get()
|
||||
self.assertEqual(response.done_message['ret'], b'some-hex')
|
||||
|
||||
def test_normal_call(self):
|
||||
base = mock.Mock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue