Comment 0 for bug 1278917

Revision history for this message
Christopher Townsend (townsend) wrote :

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