'Patch the cmdutils module to provide fake commands.'

@pytest.fixture(autouse=True)
def patch(self, monkeypatch, stubs):

    cmd_utils = stubs.FakeCmdUtils({'cmd1': stubs.FakeCommand(desc='desc    1'), 'cmd2': stubs.FakeCommand(desc='desc    2')})
    monkeypatch.setattr(configtypes, 'cmdutils', cmd_utils)
