Format project

This commit is contained in:
richard-dds
2018-08-23 16:25:36 -04:00
parent e9fa4d9ecb
commit daa8634cb4
48 changed files with 415 additions and 282 deletions

View File

@@ -3,13 +3,15 @@ import pytest
from atst.filters import dollars
@pytest.mark.parametrize("input,expected", [
('0', '$0'),
('123.00', '$123'),
('1234567', '$1,234,567'),
('-1234', '$-1,234'),
('one', '$0'),
])
@pytest.mark.parametrize(
"input,expected",
[
("0", "$0"),
("123.00", "$123"),
("1234567", "$1,234,567"),
("-1234", "$-1,234"),
("one", "$0"),
],
)
def test_dollar_fomatter(input, expected):
assert dollars(input) == expected