Skip to content

Commit

Permalink
tests(csvbase): update signature
Browse files Browse the repository at this point in the history
  • Loading branch information
wzyboy committed Jan 23, 2025
1 parent 626b26d commit cd488df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beangulp/importers/csvbase_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def test_parse_subs_currency(self):
self.assertIsInstance(value, decimal.Decimal)
self.assertEqual(value, decimal.Decimal('1000.00'))

def test_parse_invert_sign(self):
column = Amount(0, invert_sign=True)
def test_parse_negate(self):
column = Amount(0, negate=True)
func = column.getter(None)
value = func(('123.45', ))
self.assertIsInstance(value, decimal.Decimal)
Expand Down

0 comments on commit cd488df

Please sign in to comment.