2014-02-11 15:20:07 |
Christopher Townsend |
description |
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. Note that this issue does not occur using python-windowmocker from the archive.
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 |
|