Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
expire + test
Browse files Browse the repository at this point in the history
  • Loading branch information
smn committed Nov 16, 2013
1 parent 1c1fcc4 commit cafa839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vumitools/tests/test_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def metric_name(status):
@inlineCallbacks
def test_expiry(self):
mw = yield self.get_middleware({'max_lifetime': 10})
msg1 = self.mk_msg(transport_name='endpoint_0')
msg1 = self.msg_helper.make_inbound('foo', transport_name='endpoint_0')
yield mw.handle_inbound(msg1, 'dummy_endpoint')
key = mw.key('dummy_endpoint', msg1['message_id'])
ttl = yield mw.redis.ttl(key)
Expand Down

0 comments on commit cafa839

Please sign in to comment.