line: Einheit für Anzahl, book: symbol für Asset + tests
This commit is contained in:
parent
70416dbc12
commit
71aa1de06f
6 changed files with 29 additions and 14 deletions
|
@ -104,7 +104,8 @@ class CbInvTestCase(CashbookTestCase, InvestmentTestCase):
|
|||
self.assertEqual(book.lines[0].amount, Decimal('2.5'))
|
||||
self.assertEqual(book.lines[0].quantity, Decimal('1.453'))
|
||||
self.assertEqual(book.lines[0].quantity_digits, 3)
|
||||
self.assertEqual(book.lines[0].quantity_symbol, 'u')
|
||||
self.assertEqual(book.lines[0].quantity_uom.symbol, 'u')
|
||||
self.assertEqual(book.symbol, 'usd/u')
|
||||
|
||||
@with_transaction()
|
||||
def test_assetbook_book_uom(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue