Refactor configSettings class to remove test specific code #2678
Labels
debt
Covers everything internal: CI, testing, refactoring of the codebase, etc.
Milestone
In PR #2669 we have added that's test specific code, we should avoid writing such code. We have done this in a few places and i think its a bad habit, I believe we should take the time to re-structure the code where necessary.
Its an indication that code needs to be refactored for testability.
Solution:
initialize
if condition
in the constructor into theinitialize
methodPythonSettings
class, override theinitialize
method.The text was updated successfully, but these errors were encountered: