Skip to content

Commit

Permalink
These are supposed to be POSTs obviously
Browse files Browse the repository at this point in the history
  • Loading branch information
darkpixel committed Sep 5, 2015
1 parent e6c41d7 commit 8307ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/channels/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@


class TestChannelsCreate(unittest.TestCase):
@patch.object(slack.http_client, 'get')
@patch.object(slack.http_client, 'post')
def test_create(self, http_get_mock):
slack.channels.create('test-channel')
http_get_mock.assert_called_with('channels.create', {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/channels/test_invite.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@


class TestChannelsInvite(unittest.TestCase):
@patch.object(slack.http_client, 'get')
@patch.object(slack.http_client, 'post')
def test_invite(self, http_get_mock):
slack.channels.invite('C123456', 'U123456')
http_get_mock.assert_called_with('channels.create', {
Expand Down

0 comments on commit 8307ec2

Please sign in to comment.