This shouldn't change any existing functionality, just a refactoring of the code. This is an intermediary step to be able to put these logical blocks into testable functions.
I was able to successfully generate new config files as well as read existing configs ... before you merge this you probably want to make sure everything is working as expected since I don't have any tests (yet) to prove it.
You might find this Exception handler helpful: from eqa.lib.util import handleException
This shouldn't change any existing functionality, just a refactoring of the code. This is an intermediary step to be able to put these logical blocks into testable functions.
I was able to successfully generate new config files as well as read existing configs ... before you merge this you probably want to make sure everything is working as expected since I don't have any tests (yet) to prove it.
You might find this Exception handler helpful:
from eqa.lib.util import handleException