Permalink
Browse files

Fix messaging unit test after health check addition

  • Loading branch information...
1 parent 2419953 commit 73927c4ccd4021df3f53130f45c7c331253f4b20 @daf daf committed Jan 25, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 pyon/net/test/test_messaging.py
@@ -164,6 +164,10 @@ def test_channel_pool_release_reacquire(self, bcbmock):
ncm.return_value._queue_auto_delete = False
ncm.return_value.get_channel_id.return_value = sentinel.chid
+ # mock out health check
+ cpchmock = Mock(return_value=True)
+ self._node._check_pooled_channel_health = cpchmock
+
with patch('pyon.net.messaging.NodeB._new_channel', ncm):
ch = self._node.channel(BidirClientChannel)

0 comments on commit 73927c4

Please sign in to comment.