~ubuntu-branches/ubuntu/utopic/notes-app/utopic-proposed

« back to all changes in this revision

Viewing changes to tests/autopilot/notes_app/emulators/main_window.py

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Omer Akram, Ubuntu daily release
  • Date: 2013-08-06 09:43:04 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130806094304-y2qxgjewx9rzi1j7
Tags: 1.4+13.10.20130806-0ubuntu1
[ Omer Akram ]
* fix pep8 complaints for the autopilot tests code.

[ Ubuntu daily release ]
* Automatic snapshot from revision 170

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# under the terms of the GNU General Public License version 3, as published
6
6
# by the Free Software Foundation.
7
7
 
 
8
 
8
9
class MainWindow(object):
9
10
    """An emulator class that makes it easy to interact with the notes app."""
10
11
 
25
26
 
26
27
    def get_note_parts(self, note_item):
27
28
        edit = note_item.select_single("MixedEdit")
28
 
        parts = edit.select_single("QQuickColumn").get_children_by_type("QQuickLoader")
 
29
        parts = edit.select_single(
 
30
            "QQuickColumn").get_children_by_type("QQuickLoader")
29
31
        return parts
30
32
 
31
33
    def get_keyboard_rectangle(self):