more tests, splitting input handling and logic
This commit is contained in:
parent
afe9e18e0d
commit
46988352ca
4 changed files with 34 additions and 31 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue