test(py-monitor): run test_parses_thousands_separator
This commit is contained in:
1 parent
2a334fa97d
commit
3293132357
1 file changed
+5
@@ -32,6 +32,11 @@ class UrlTests(unittest.TestCase):
|
||||
self.assertEqual("", normalize_product_url(None))
|
||||
|
||||
|
||||
class PriceTests(unittest.TestCase):
|
||||
|
||||
def test_parses_thousands_separator(self):
|
||||
self.assertEqual(1250.5, parse_price("RM 1,250.50"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user