def test_amqp_joined(self):
     hooks.amqp_joined()
     self.relation_set.assert_called_with(username='******',
                                          vhost='openstack',
                                          relation_id=None)
 def test_amqp_joined(self):
     hooks.amqp_joined()
     self.relation_set.assert_called_with(
         username='******', vhost='openstack',
         relation_id=None)