Skip to content

Commit

Permalink
Merge branch 'feature/fix_dependency'
Browse files Browse the repository at this point in the history
  • Loading branch information
oklahomer committed Dec 26, 2015
2 parents ff9860a + ec91d9f commit 0430fb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
APScheduler==3.0.4
assertpy==0.8
mock==1.3.0
pbr==1.8.1
pep8==1.6.2
py==1.4.30
Expand Down
2 changes: 1 addition & 1 deletion tests/bot/test_bot_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import sys
from apscheduler.schedulers.background import BackgroundScheduler
from assertpy import assert_that
from mock import patch, PropertyMock
from unittest.mock import patch, PropertyMock

from sarah.bot import Base
from sarah.bot.values import CommandMessage, ScheduledCommand, Command, \
Expand Down
4 changes: 2 additions & 2 deletions tests/bot/test_hipchat.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import pytest
from assertpy import assert_that
from mock import MagicMock, call, patch
from unittest.mock import MagicMock, patch, call
from sleekxmpp import ClientXMPP
from sleekxmpp.exceptions import IqTimeout, IqError
from sleekxmpp.stanza import Message
Expand Down Expand Up @@ -150,7 +150,7 @@ def test_echo_message(self, hipchat):
self.wait_future_finish(hipchat.message(msg))
assert_that(hipchat.respond.call_count).is_equal_to(1)
assert_that(msg.reply.call_count).is_equal_to(1)
assert_that(msg.reply.call_args).is_equal_to(call('spam'))
assert_that(msg.reply.call_args == call('spam')).is_true()


class TestGenerateScheduleJob(object):
Expand Down
2 changes: 1 addition & 1 deletion tests/bot/test_slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import pytest
from assertpy import assert_that
from mock import patch, MagicMock
from unittest.mock import patch, MagicMock

import sarah
from sarah.bot.slack import Slack, SlackClient, SarahSlackException, \
Expand Down

0 comments on commit 0430fb7

Please sign in to comment.