more tests, splitting input handling and logic

This commit is contained in:
Pablo Martin 2024-06-06 18:02:43 +02:00
parent afe9e18e0d
commit 46988352ca
4 changed files with 34 additions and 31 deletions

View file

@ -3,5 +3,10 @@ import logging
logger = logging.getLogger()
def handle_get_rates_inputs():
def handle_get_rates_inputs(start_date, end_date, currencies, dry_run, output):
logger.info("Handling inputs.")
logger.debug(f"Received start_date: {start_date}")
logger.debug(f"Received end_date: {end_date}")
logger.debug(f"Received currencies: {currencies}")
logger.debug(f"dry_run state: {dry_run}")
logger.debug(f"Received output: {output}")