diff --git a/weboob/tools/capabilities/bank/test.py b/weboob/tools/capabilities/bank/test.py index ac7b41df45036b34a53c1c1778c44bb7036acdee..75677669253c7a3a9ad75dcf9c4fe30c0f55693c 100644 --- a/weboob/tools/capabilities/bank/test.py +++ b/weboob/tools/capabilities/bank/test.py @@ -153,7 +153,7 @@ def check_investments(self, account): def check_investment(self, account, inv): self.assertTrue(inv.label, 'investment %r has no label' % inv) - self.assertTrue(inv.valuation, 'investment %r has no valuation' % inv) + self.assertFalse(empty(inv.valuation), 'investment %r has no valuation' % inv) if inv.code and inv.code != 'XX-liquidity': self.assertTrue(inv.code_type, 'investment %r has code but no code type' % inv) if inv.code_type == inv.CODE_TYPE_ISIN and inv.code and not inv.code.startswith('XX'):