Lomiri
|
Public Member Functions | |
test_can_unlock_pin_screen (self) | |
test_can_unlock_passphrase_screen (self) | |
test_pin_screen_wrong_code (self) | |
test_passphrase_screen_wrong_password (self) | |
![]() | |
setUpClass (cls) | |
setUp (self) | |
launch_lomiri (self, mode="full-greeter", *args) | |
patch_lightdm_mock (self) | |
wait_for_lomiri (self) | |
get_dash (self) | |
main_window (self) | |
Static Public Attributes | |
scenarios = lomiri_scenarios.get_device_simulation_scenarios() | |
Protected Member Functions | |
_wait_for_lockscreen (self) | |
_enter_pin_passphrase (self, passphrase) | |
_enter_prompt_passphrase (self, passphrase) | |
![]() | |
_setup_display_details (self) | |
_determine_geometry (self) | |
_setup_grid_size (self, scale_divisor) | |
_geo_larger_than_display (self, width, height) | |
_get_scaled_down_geo (self, width, height) | |
_launch_lomiri_with_upstart (self, binary_path, args) | |
_patch_data_dirs (self) | |
_get_lightdm_mock_path (self) | |
_set_proxy (self, proxy) | |
_clear_proxy (self) | |
Additional Inherited Members | |
![]() | |
lomiri_geometry_args | |
grid_size | |
![]() | |
_proxy | |
_qml_mock_enabled | |
_data_dirs_mock_enabled | |
_environment | |
_clear_proxy | |
Tests for the lock screen.
Definition at line 32 of file test_lock_screen.py.
|
protected |
Enter the password specified in 'passphrase' into the password entry field of the pin lock screen. :param passphrase: The string you want to enter. :raises: TypeError if passphrase is not a string.
Definition at line 112 of file test_lock_screen.py.
|
protected |
Enter the password specified in 'passphrase' into the password entry field of the main user list's prompt. :param passphrase: The string you want to enter. :raises: TypeError if passphrase is not a string.
Definition at line 133 of file test_lock_screen.py.
|
protected |
Wait for the lock screen to load, and return it.
Definition at line 104 of file test_lock_screen.py.
lomiri.shell.tests.test_lock_screen.TestLockscreen.test_can_unlock_passphrase_screen | ( | self | ) |
Must be able to unlock the passphrase entry screen.
Definition at line 53 of file test_lock_screen.py.
lomiri.shell.tests.test_lock_screen.TestLockscreen.test_can_unlock_pin_screen | ( | self | ) |
Must be able to unlock the PIN entry lock screen.
Definition at line 38 of file test_lock_screen.py.
lomiri.shell.tests.test_lock_screen.TestLockscreen.test_passphrase_screen_wrong_password | ( | self | ) |
Entering the wrong password must not dismiss the lock screen.
Definition at line 86 of file test_lock_screen.py.
lomiri.shell.tests.test_lock_screen.TestLockscreen.test_pin_screen_wrong_code | ( | self | ) |
Entering the wrong pin code must not dismiss the lock screen.
Definition at line 68 of file test_lock_screen.py.
|
static |
Definition at line 36 of file test_lock_screen.py.