Lomiri
lomiri.shell.tests.test_rotation.RotationBase Class Reference
Inheritance diagram for lomiri.shell.tests.test_rotation.RotationBase:
Collaboration diagram for lomiri.shell.tests.test_rotation.RotationBase:

Public Member Functions

def setUp (self)
 
- Public Member Functions inherited from lomiri.shell.tests.LomiriTestCase
def setUpClass (cls)
 
def setUp (self)
 
def launch_lomiri (self, mode="full-greeter", *args)
 
def patch_lightdm_mock (self)
 
def wait_for_lomiri (self)
 
def get_dash (self)
 
def main_window (self)
 

Additional Inherited Members

- Public Attributes inherited from lomiri.shell.tests.LomiriTestCase
 lomiri_geometry_args
 
 grid_size
 

Detailed Description

Base class for all shell-rotation tests that provides helper methods.

Definition at line 35 of file test_rotation.py.

Member Function Documentation

◆ setUp()

def lomiri.shell.tests.test_rotation.RotationBase.setUp (   self)

Reimplemented from lomiri.shell.tests.LomiriTestCase.

Definition at line 38 of file test_rotation.py.

38 def setUp(self):
39 if model() == 'Desktop':
40 self.skipTest('Test cannot be run on the desktop.')
41 super().setUp()
42 self._qml_mock_enabled = False
43 self._data_dirs_mock_enabled = False
44

The documentation for this class was generated from the following file: