Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Oct 30, 2024
1 parent 8a635f8 commit 030bfc4
Showing 1 changed file with 10 additions and 50 deletions.
60 changes: 10 additions & 50 deletions tests/manager/util/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,56 +376,16 @@ class TestMoneyUtility:
@pytest.mark.parametrize(
"expected_amount, expected_string, input_amount",
[
[
Decimal("0"),
"0.00",
None,
],
[
Decimal("4.00"),
"4.00",
"4",
],
[
Decimal("-4.00"),
"-4.00",
"-4",
],
[
Decimal("4.40"),
"4.40",
"4.40",
],
[
Decimal("4.40"),
"4.40",
"$4.40",
],
[
Decimal("4.4"),
"4.40",
4.4,
],
[
Decimal("4"),
"4.00",
4,
],
[
Decimal("0.4"),
"0.40",
0.4,
],
[
Decimal("0.4"),
"0.40",
".4",
],
[
Decimal("4444.40"),
"4444.40",
"4,444.40",
],
[Decimal("0"), "0.00", None],
[Decimal("4.00"), "4.00", "4"],
[Decimal("-4.00"), "-4.00", "-4"],
[Decimal("4.40"), "4.40", "4.40"],
[Decimal("4.40"), "4.40", "$4.40"],
[Decimal("4.4"), "4.40", 4.4],
[Decimal("4"), "4.00", 4],
[Decimal("0.4"), "0.40", 0.4],
[Decimal("0.4"), "0.40", ".4"],
[Decimal("4444.40"), "4444.40", "4,444.40"],
],
)
def test_parse(
Expand Down

0 comments on commit 030bfc4

Please sign in to comment.