Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tiny-pilot/tinypilot
/ functions
Functions
758 in github.com/tiny-pilot/tinypilot
⨍
Functions
758
◇
Types & classes
153
↳
Endpoints
113
Method
test_chmod_uses_0600_as_default_mode
(self)
app/atomic_file_test.py:58
Method
test_cleans_up_temp_file_on_caller_error
(self)
app/atomic_file_test.py:88
Method
test_cleans_up_temp_file_on_os_error
(self)
app/atomic_file_test.py:74
Method
test_clears_prop_from_file_if_value_is_changed_to_be_the_default
(self)
app/update/settings_test.py:85
Method
test_converts_keystroke_with_all_modifiers_pressed
(self)
app/js_to_hid_test.py:40
Method
test_converts_left_ctrl_keystroke
(self)
app/js_to_hid_test.py:61
Method
test_converts_left_ctrl_with_shift_left_keystroke
(self)
app/js_to_hid_test.py:93
Method
test_converts_right_ctrl_keystroke
(self)
app/js_to_hid_test.py:77
Method
test_converts_shifted_keystroke
(self)
app/js_to_hid_test.py:24
Method
test_converts_simple_keystroke
(self)
app/js_to_hid_test.py:10
Method
test_defaults_to_us_english_language_mapping
(self)
app/text_to_hid_test.py:29
Method
test_denies_access_for_anonymous_visitor_if_auth_requirement_is_on
( self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:86
Method
test_denies_access_if_password_had_changed
(self, mock_get_db, mock_username,
app/session_test.py:114
Method
test_denies_access_if_role_had_changed
(self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:143
Method
test_denies_access_if_session_corrupt
(self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:176
Method
test_denies_access_if_user_is_deleted
(self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:205
Method
test_disregards_command_failure
(self, mock_cmd)
app/network_test.py:39
Method
test_disregards_invalid_json
(self, mock_cmd)
app/network_test.py:123
Method
test_disregards_other_families_such_as_ipv6
(self, mock_cmd)
app/network_test.py:98
Method
test_disregards_previously_existing_structure
(self)
app/db/store_test.py:83
Method
test_does_not_launch_if_update_is_already_running
( self, mock_status_get, mock_clear, mock_popen)
app/update/launcher_test.py:59
Method
test_does_not_populate_default_value_to_file
(self)
app/update/settings_test.py:75
Method
test_does_not_run_migrations_redundantly
(self)
app/db/store_test.py:102
Method
test_does_nothing_when_no_result_files_exist
(self, mock_glob)
app/update/result_store_test.py:174
Method
test_excludes_loopback_and_virtual_interfaces
(self)
app/network_test.py:149
Method
test_execute_with_timeout_and_timeout_reached
(self)
app/execute_test.py:96
Method
test_execute_with_timeout_child_exception
(self)
app/execute_test.py:105
Method
test_execute_with_timeout_return_value
(self)
app/execute_test.py:100
Method
test_executes_multistatement_migration_atomically
(self)
app/db/store_test.py:141
Method
test_fails_if_first_user_is_not_admin
(self, mock_get_db)
app/auth_test.py:56
Method
test_get_account
(self, mock_get_db)
app/auth_test.py:220
Method
test_get_all_accounts
(self, mock_get_db)
app/auth_test.py:238
Method
test_get_new_logs_with_more_next_logs
(self)
app/update_logs_test.py:8
Method
test_get_new_logs_with_more_prev_logs
(self)
app/update_logs_test.py:13
Method
test_get_new_logs_with_no_common_logs
(self)
app/update_logs_test.py:18
Method
test_get_new_logs_with_no_next_logs
(self)
app/update_logs_test.py:28
Method
test_get_new_logs_with_no_prev_logs
(self)
app/update_logs_test.py:23
Method
test_get_or_create_will_create_when_file_does_not_exist
(self)
app/secret_key_test.py:54
Method
test_get_or_create_will_get_when_valid_file_exists
(self)
app/secret_key_test.py:16
Method
test_get_or_create_will_recreate_file_if_content_is_corrupt
(self)
app/secret_key_test.py:43
Method
test_get_or_create_will_recreate_if_file_has_invalid_perms
(self)
app/secret_key_test.py:26
Method
test_grants_access_for_authenticated_admin
(self, mock_get_db, mock_username,
app/session_test.py:41
Method
test_grants_access_for_authenticated_operator
(self, mock_get_db, mock_username,
app/session_test.py:63
Method
test_grants_full_access_if_auth_requirement_is_off
( self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:22
Method
test_ignored_character
(self)
app/text_to_hid_test.py:38
Method
test_ignores_update_result_if_update_is_running
If update is running, last update result does not matter.
app/update/status_test.py:42
Method
test_keystroke_with_modifier
(self)
app/text_to_hid_test.py:13
Method
test_keystroke_without_modifier
(self)
app/text_to_hid_test.py:9
Method
test_language_mapping
(self)
app/text_to_hid_test.py:19
Method
test_latest_version_raises_request_error_when_request_fails
( self, mock_urlopen)
app/version_test.py:136
Method
test_latest_version_raises_request_error_when_response_is_not_json
( self, mock_urlopen)
app/version_test.py:103
Method
test_latest_version_raises_request_error_when_response_is_not_json_dict
( self, mock_urlopen)
app/version_test.py:113
Method
test_latest_version_raises_request_error_when_response_is_not_utf_8
( self, mock_urlopen)
app/version_test.py:93
Method
test_latest_version_raises_request_error_when_response_missing_field
( self, mock_urlopen)
app/version_test.py:124
Method
test_latest_version_when_request_is_successful
(self, mock_urlopen)
app/version_test.py:79
Method
test_launches_update_when_no_update_is_running
(self, mock_status_get, mock_clear, mock_popen)
app/update/launcher_test.py:16
Method
test_launches_update_when_previous_update_failed
( self, mock_status_get, mock_clear, mock_popen)
app/update/launcher_test.py:44
Method
test_launches_update_when_previous_update_succeeded
( self, mock_status_get, mock_clear, mock_popen)
app/update/launcher_test.py:30
Method
test_leaves_unrecognized_settings_intact
(self)
app/update/settings_test.py:128
Method
test_local_version_raises_file_error_when_file_doesnt_exist
(self)
app/version_test.py:42
Method
test_local_version_raises_file_error_when_file_is_empty
(self)
app/version_test.py:48
Method
test_local_version_raises_file_error_when_file_is_not_utf_8
(self)
app/version_test.py:57
Method
test_local_version_returns_dummy_version_when_in_debug_mode
(self)
app/version_test.py:153
Method
test_local_version_strips_leading_trailing_whitespace
(self)
app/version_test.py:32
Method
test_local_version_when_file_exists
(self)
app/version_test.py:22
Method
test_noop_if_no_migrations_are_specified
(self)
app/db/store_test.py:47
Method
test_normalizes_country_code_to_uppercase
(self)
app/request_parsers/network_test.py:38
Method
test_normalizes_mac_address_to_use_dashes
(self, mock_cmd)
app/network_test.py:78
Method
test_overwrites_value_of_existing_property
(self)
app/update/settings_test.py:62
Method
test_parses_all_data
(self, mock_cmd)
app/network_test.py:108
Method
test_parses_and_merges_valid_keystroke_message_with_defaults
(self)
app/request_parsers/keystroke_test.py:131
Method
test_parses_different_types
(self)
app/request_parsers/json_test.py:46
Method
test_parses_ip_address
(self, mock_cmd)
app/network_test.py:88
Method
test_parses_left_ctrl_key
(self)
app/request_parsers/keystroke_test.py:65
Method
test_parses_mac_address
(self, mock_cmd)
app/network_test.py:68
Method
test_parses_minimal_valid_keystroke_with_defaults
(self)
app/request_parsers/keystroke_test.py:115
Method
test_parses_one_required_field_from_body
(self)
app/request_parsers/json_test.py:24
Method
test_parses_operstate_down_as_not_connected
(self, mock_cmd)
app/network_test.py:48
Method
test_parses_operstate_up_as_connected
(self, mock_cmd)
app/network_test.py:58
Method
test_parses_required_fields_from_body
(self)
app/request_parsers/json_test.py:16
Method
test_parses_right_ctrl_key
(self)
app/request_parsers/keystroke_test.py:90
Method
test_parses_valid_delete_username_request
(self)
app/request_parsers/delete_user_test.py:16
Method
test_parses_valid_keystroke_message
(self)
app/request_parsers/keystroke_test.py:15
Method
test_parses_valid_keystroke_message_with_all_modifiers_pushed
(self)
app/request_parsers/keystroke_test.py:40
Method
test_parses_valid_mouse_event
(self)
app/request_parsers/mouse_event_test.py:8
Method
test_parses_valid_mouse_event_with_all_buttons_pressed
(self)
app/request_parsers/mouse_event_test.py:98
Method
test_parses_valid_mouse_event_with_int_position
(self)
app/request_parsers/mouse_event_test.py:23
Method
test_parses_valid_negative_horizontal_scroll
(self)
app/request_parsers/mouse_event_test.py:68
Method
test_parses_valid_negative_vertical_scroll
(self)
app/request_parsers/mouse_event_test.py:38
Method
test_parses_valid_positive_horizontal_scroll
(self)
app/request_parsers/mouse_event_test.py:83
Method
test_parses_valid_positive_vertical_scroll
(self)
app/request_parsers/mouse_event_test.py:53
Method
test_parses_with_less_required_fields_than_actual_fields_in_body
(self)
app/request_parsers/json_test.py:37
Method
test_parses_with_no_required_field
(self)
app/request_parsers/json_test.py:31
Method
test_persists_new_file_in_destination_folder
(self)
app/atomic_file_test.py:49
Method
test_populates_empty_file_with_blank_settings
(self)
app/update/settings_test.py:43
Method
test_populates_empty_file_with_initial_data
(self)
app/update/settings_test.py:51
Method
test_preserves_data_across_connections
(self, mock_db_connection)
app/db/settings_test.py:14
Method
test_process_with_result_child_completed
(self)
app/execute_test.py:54
Method
test_process_with_result_child_exception
(self)
app/execute_test.py:72
Method
test_process_with_result_child_not_completed
(self)
app/execute_test.py:63
← previous
next →
501–600 of 758, ranked by callers