This patch refactors the menu test by moving the monkey patching out into a fixture. When changing the cwd, we now use the monkeypatch tooling. By that, the following tests are not affected by a failure in a previous one, which leads to a cleaner test report. Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>