~canonical-platform-qa/ubuntu-system-tests/qemu-build-snap

« back to all changes in this revision

Viewing changes to ubuntu_system_tests/helpers/ubuntuuitools/_cpo/_flickable.py

  • Committer: Tarmac
  • Author(s): Allan LeSage
  • Date: 2016-11-30 19:25:24 UTC
  • mfrom: (486.1.1 flake8-fresh-fixes)
  • Revision ID: tarmac-20161130192524-vrjgq8lwbqvmgswn
Address uitoolkit merge zesty and vivid flake8 errors.

Approved by platform-qa-bot, Heber Parrucci.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
        return containers
84
84
 
85
85
    def _is_child_in_visible_y_range(self, child, containers):
86
 
        """Check if the center of the child has an y-value in the visible range.
 
86
        """Check if the center of the child has a y-value in the visible range.
87
87
 
88
88
        :return: True if the center of the child is y-visible, False otherwise.
89
89
        """
94
94
                object_center_y <= visible_bottom)
95
95
 
96
96
    def _is_child_in_visible_x_range(self, child, containers):
97
 
        """Check if the center of the child has an x-value in the visible range.
 
97
        """Check if the child's center has an x-value in the visible range.
98
98
 
99
99
        :return: True if the center of the child is x-visible. False otherwise.
100
100
        """