For now, I parse the dynamic parameters and set my config accordingly in th main.py. However, when it comes to tests, I have no way to pass a config to my Database instance, respectively my ETL instance.
It seems that I could encapsulate the Config setup, i.e., read the defaults and set with either (i) the dynmaic parameters given through command-line, or (ii) dynamic parameters given through tests (or even through a GUI).
For now, I parse the dynamic parameters and set my config accordingly in th
main.py
. However, when it comes to tests, I have no way to pass a config to my Database instance, respectively my ETL instance.It seems that I could encapsulate the Config setup, i.e., read the defaults and set with either (i) the dynmaic parameters given through command-line, or (ii) dynamic parameters given through tests (or even through a GUI).