projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Since this thing is on the innerwebs I suppose it should have a
[python_utils.git]
/
tests
/
money_test.py
diff --git
a/tests/money_test.py
b/tests/money_test.py
index 57f4637d1c698384b3fcddcdd38f0863cee30641..bbca499e78a31fedb878b95005c9c993f9cb0d65 100755
(executable)
--- a/
tests/money_test.py
+++ b/
tests/money_test.py
@@
-1,13
+1,16
@@
#!/usr/bin/env python3
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""money unittest."""
+
import unittest
import unittest
-from type.money import Money
import unittest_utils as uu
import unittest_utils as uu
+from type.money import Money
class TestMoney(unittest.TestCase):
class TestMoney(unittest.TestCase):
-
def test_basic_utility(self):
amount = Money(1.45)
another = Money.parse("USD 1.45")
def test_basic_utility(self):
amount = Money(1.45)
another = Money.parse("USD 1.45")