'Test the compute_reputation method'

@blocking_call_on_reactor_thread
def test_compute_reputation(self):

    self.market_community.tradechain_community = MockObject()
    self.market_community.tradechain_community.persistence = MockObject()
    self.market_community.tradechain_community.persistence.get_all_blocks = (lambda : [])
    self.market_community.compute_reputation()
    self.assertFalse(self.market_community.reputation_dict)
