majohn-r / mp3repair

An MP3 file repair command-line utility
MIT License
0 stars 0 forks source link

Tests involved in ElevationControl manipulate cmd_toolkit.ElevationControl internals #175

Closed majohn-r closed 4 months ago

majohn-r commented 4 months ago

Manipulating the functions called by cmd_toolkit.ElevationControl code in order to govern how that code works in testing is a really brittle solution to needing to control the behavior of that code. Better, the code should simply drop in a testing implementation of the ElevationControl code.