Lomiri
|
Static Public Attributes | |
scenarios | |
Protected Member Functions | |
_get_icon_path (self, icon_name) | |
_get_notifications_list (self) | |
_assert_notification (self, notification, summary=None, body=None, icon=True, secondary_icon=False, opacity=None) | |
![]() | |
_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 | |
![]() | |
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) | |
![]() | |
lomiri_geometry_args | |
grid_size | |
![]() | |
_proxy | |
_qml_mock_enabled | |
_data_dirs_mock_enabled | |
_environment | |
_clear_proxy | |
Base class for all notification tests that provides helper methods.
Definition at line 41 of file test_notifications.py.
|
protected |
Assert that the expected qualities of a notification are as expected.
Definition at line 72 of file test_notifications.py.
|
protected |
Given an icons file name returns the full path (either system or source tree. Consider the graphics directory as root so for example (running tests from installed lomiri-autopilot package): >>> self.get_icon_path('clock.png') /usr/share/lomiri/graphics/clock.png >>> self.get_icon_path('applicationIcons/facebook.png') /usr/share/lomiri/graphics/applicationIcons/facebook.png
Definition at line 47 of file test_notifications.py.
|
protected |
Definition at line 66 of file test_notifications.py.
|
static |
Definition at line 44 of file test_notifications.py.