def test_current_portfolio_value(self):
        """
        Current portfolio value
        """
        user = UserFactory()
        self.assertEqual(0, user.current_portfolio_value)
        event = EventFactory()
        bet = BetFactory(user=user, event=event)
        self.assertEqual(50, user.current_portfolio_value)
        bet.outcome = Bet.NO
        bet.has = 2
        bet.save()
        self.assertEqual(100, user.current_portfolio_value)