Using trunk window-mocker (and window-mocker from the Unity daily-build PPA), tests that create window-mocker menu entries are failing due to window-mocker not creating the menu entries.
The error look like:
/var/local/autopilot/autopilot.log:ERROR:windowmocker.plugins.qt4:Invalid menu item - is not a dict or string: u'Search entry'
/var/local/autopilot/autopilot.log:ERROR:windowmocker.plugins.qt4:Invalid menu item - is not a dict or string: u'Quit'
The code that generates this uses the following window_spec:
window_spec = { "Title": "Test menu application",
"Menu": ["Search entry", "Quit"],
}
This can be found in unity trunk under tests/autopilot/unity/tests/test_search.py
Using trunk window-mocker (and window-mocker from the Unity daily-build PPA), tests that create window-mocker menu entries are failing due to window-mocker not creating the menu entries.
The error look like: autopilot/ autopilot. log:ERROR: windowmocker. plugins. qt4:Invalid menu item - is not a dict or string: u'Search entry' autopilot/ autopilot. log:ERROR: windowmocker. plugins. qt4:Invalid menu item - is not a dict or string: u'Quit'
/var/local/
/var/local/
The code that generates this uses the following window_spec:
"Title" : "Test menu application",
window_spec = {
"Menu": ["Search entry", "Quit"],
}
This can be found in unity trunk under tests/autopilot /unity/ tests/test_ search. py