Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
davdr committed May 23, 2021
1 parent c50e8fe commit 00ecc34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_connector_mattermost.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ async def test_send_message(self):
)
connector.mm_driver.posts = mock.Mock()
connector.mm_driver.posts.create_post = mock.MagicMock()
await connector.send(Message(text="test", user="user", target="room", connector=connector))
await connector.send(
Message(text="test", user="user", target="room", connector=connector)
)
self.assertTrue(connector.mm_driver.channels.get_channel_by_name_and_team_name)
self.assertTrue(connector.mm_driver.posts.create_post.called)

0 comments on commit 00ecc34

Please sign in to comment.