def test_amqp_joined_passes_relation_id(self): ''' Ensures relation_id correct passed to relation_set for out of hook execution ''' hooks.amqp_joined(relation_id='amqp:1') self.relation_set.assert_called_with(username='******', vhost='openstack', relation_id='amqp:1')
def test_amqp_joined_passes_relation_id(self): '''Ensures relation_id correct passed to relation_set for out of hook execution ''' hooks.amqp_joined(relation_id='amqp:1') self.relation_set.assert_called_with(username='******', vhost='openstack', relation_id='amqp:1')