'Test the creation of an introduction request'

@blocking_call_on_reactor_thread
def test_create_intro_request(self):

    self.market_community.order_book.insert_ask(self.ask)
    self.market_community.order_book.insert_bid(self.bid)
    candidate = WalkCandidate(('127.0.0.1', 1234), False, ('127.0.0.1', 1234), ('127.0.0.1', 1234), u'public')
    request = self.market_community.create_introduction_request(candidate, True)
    self.assertTrue(request)
    self.assertTrue(request.payload.orders_bloom_filter)
