mirror of
https://github.com/bblaz/num2words.git
synced 2026-11-12 12:35:27 +00:00
Test currency not implemented, remove dead method.
This commit is contained in:
1 parent
26fef2e116
commit
61dd1c9a4f
2 files changed
+17
-3
No files matched your search
@@ -0,0 +1,17 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from decimal import Decimal
|
||||
from unittest import TestCase
|
||||
|
||||
from num2words.base import Num2Word_Base
|
||||
|
||||
|
||||
class Num2WordBaseTest(TestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super(Num2WordBaseTest, cls).setUpClass()
|
||||
cls.base = Num2Word_Base()
|
||||
|
||||
def test_to_currency_not_implemented(self):
|
||||
with self.assertRaises(NotImplementedError):
|
||||
self.base.to_currency(Decimal('1.00'), currency='EUR')
|
||||
Reference in new issue
Block a user