|
GnuCash 7574033+
|
Public Member Functions | |
| test_get_latest_price_returns_gnc_numeric (self) | |
| test_get_nearest_price_returns_gnc_numeric (self) | |
| test_get_nearest_before_price_returns_gnc_numeric (self) | |
| test_get_latest_price_arithmetic (self) | |
| Public Member Functions inherited from test_price_and_wrapping.PriceSession | |
| setUp (self) | |
| tearDown (self) | |
Additional Inherited Members | |
| Data Fields inherited from test_price_and_wrapping.PriceSession | |
| ses = Session() | |
| book = self.ses.get_book() | |
| table = self.book.get_table() | |
| usd = self.table.lookup("CURRENCY", "USD") | |
| test_comm | |
| pricedb = self.book.get_price_db() | |
| price1 = GncPrice(self.book) | |
| price2 = GncPrice(self.book) | |
Verify that get_latest_price, get_nearest_price, and get_nearest_before_price return GncNumeric instead of raw _gnc_numeric.
Definition at line 389 of file test_price_and_wrapping.py.
| test_price_and_wrapping.TestGetPriceReturnsGncNumeric.test_get_latest_price_arithmetic | ( | self | ) |
Verify the returned GncNumeric supports arithmetic.
Definition at line 411 of file test_price_and_wrapping.py.
| test_price_and_wrapping.TestGetPriceReturnsGncNumeric.test_get_latest_price_returns_gnc_numeric | ( | self | ) |
Definition at line 394 of file test_price_and_wrapping.py.
| test_price_and_wrapping.TestGetPriceReturnsGncNumeric.test_get_nearest_before_price_returns_gnc_numeric | ( | self | ) |
Definition at line 405 of file test_price_and_wrapping.py.
| test_price_and_wrapping.TestGetPriceReturnsGncNumeric.test_get_nearest_price_returns_gnc_numeric | ( | self | ) |
Definition at line 400 of file test_price_and_wrapping.py.