Would I retain the previous value of os.system and set it back after any assertions (pass or fail) so that following tests would not affected? Or does it und itself naturally when Pytest recurses in the next test in its suite ?
As I hinted I couldn't find such an example online, with an emphatic 'best practice' claim attached. What do you intend to convey with "Well well well"? - Paul