Wolfmyths/Myth-Mod-Manager

Implementing PyTest Question

Closed this issue · 0 comments

I am planning to implement PyTest into Myth Mod Manager, this is my first time using PyTest.

So far its been going well except for a major issue that I am having a hard time finding an answer for.

Myth Mod Manager uses multiple data files to save user data mod.ini, profiles.json, config.ini.

I want to test different widgets in Myth Mod Manager but this will trigger the "save data" function for whatever needs to be saved, is there a way to ignore this call during tests? Or make the functions point to mock data save files?