small comment

This commit is contained in:
Pablo Martin 2024-06-11 14:17:33 +02:00
parent 9cf47b1478
commit f302846e4a

View file

@ -64,7 +64,12 @@ def test_get_rates_dry_run_always_returns_42_as_rates():
(some_random_date + datetime.timedelta(days=3)).strftime("%Y-%m-%d"),
"--currencies",
",".join(
[str(some_currency) for some_currency in some_random_currencies]
[
# Get the last 3 right characters, which are the actual
# currency code
str(some_currency)[-3:]
for some_currency in some_random_currencies
]
),
"--output",
"test_output.csv",