Skip to content
Browse files

Fix tests

  • Loading branch information...
1 parent 605a1b8 commit a86527f857c4811301c0be2b0199a2c9ef23c0a8 @chrisglass committed Sep 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 shop/tests/util.py
View
2 shop/tests/util.py
@@ -25,7 +25,7 @@ class CurrencyFieldTestCase(TestCase):
Tests the currency field defined in the util package
"""
def test_01_currencyfield_has_fixed_format(self):
- cf = CurrencyField(max_digits=2, decimal_places=1)
+ cf = CurrencyField(max_digits=2, decimal_places=10)
number = cf.format_number(99.99)
#number should *not* end up having only one decimal place
self.assertEqual(Decimal(number), Decimal('99.99'))

0 comments on commit a86527f

Please sign in to comment.
Something went wrong with that request. Please try again.