MCPcopy Create free account

hub / github.com/tiny-pilot/tinypilot / functions

Functions758 in github.com/tiny-pilot/tinypilot

Methodtest_chmod_uses_0600_as_default_mode
(self)
app/atomic_file_test.py:58
Methodtest_cleans_up_temp_file_on_caller_error
(self)
app/atomic_file_test.py:88
Methodtest_cleans_up_temp_file_on_os_error
(self)
app/atomic_file_test.py:74
Methodtest_clears_prop_from_file_if_value_is_changed_to_be_the_default
(self)
app/update/settings_test.py:85
Methodtest_converts_keystroke_with_all_modifiers_pressed
(self)
app/js_to_hid_test.py:40
Methodtest_converts_left_ctrl_keystroke
(self)
app/js_to_hid_test.py:61
Methodtest_converts_left_ctrl_with_shift_left_keystroke
(self)
app/js_to_hid_test.py:93
Methodtest_converts_right_ctrl_keystroke
(self)
app/js_to_hid_test.py:77
Methodtest_converts_shifted_keystroke
(self)
app/js_to_hid_test.py:24
Methodtest_converts_simple_keystroke
(self)
app/js_to_hid_test.py:10
Methodtest_defaults_to_us_english_language_mapping
(self)
app/text_to_hid_test.py:29
Methodtest_denies_access_for_anonymous_visitor_if_auth_requirement_is_on
( self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:86
Methodtest_denies_access_if_password_had_changed
(self, mock_get_db, mock_username,
app/session_test.py:114
Methodtest_denies_access_if_role_had_changed
(self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:143
Methodtest_denies_access_if_session_corrupt
(self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:176
Methodtest_denies_access_if_user_is_deleted
(self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:205
Methodtest_disregards_command_failure
(self, mock_cmd)
app/network_test.py:39
Methodtest_disregards_invalid_json
(self, mock_cmd)
app/network_test.py:123
Methodtest_disregards_other_families_such_as_ipv6
(self, mock_cmd)
app/network_test.py:98
Methodtest_disregards_previously_existing_structure
(self)
app/db/store_test.py:83
Methodtest_does_not_launch_if_update_is_already_running
( self, mock_status_get, mock_clear, mock_popen)
app/update/launcher_test.py:59
Methodtest_does_not_populate_default_value_to_file
(self)
app/update/settings_test.py:75
Methodtest_does_not_run_migrations_redundantly
(self)
app/db/store_test.py:102
Methodtest_does_nothing_when_no_result_files_exist
(self, mock_glob)
app/update/result_store_test.py:174
Methodtest_excludes_loopback_and_virtual_interfaces
(self)
app/network_test.py:149
Methodtest_execute_with_timeout_and_timeout_reached
(self)
app/execute_test.py:96
Methodtest_execute_with_timeout_child_exception
(self)
app/execute_test.py:105
Methodtest_execute_with_timeout_return_value
(self)
app/execute_test.py:100
Methodtest_executes_multistatement_migration_atomically
(self)
app/db/store_test.py:141
Methodtest_fails_if_first_user_is_not_admin
(self, mock_get_db)
app/auth_test.py:56
Methodtest_get_account
(self, mock_get_db)
app/auth_test.py:220
Methodtest_get_all_accounts
(self, mock_get_db)
app/auth_test.py:238
Methodtest_get_new_logs_with_more_next_logs
(self)
app/update_logs_test.py:8
Methodtest_get_new_logs_with_more_prev_logs
(self)
app/update_logs_test.py:13
Methodtest_get_new_logs_with_no_common_logs
(self)
app/update_logs_test.py:18
Methodtest_get_new_logs_with_no_next_logs
(self)
app/update_logs_test.py:28
Methodtest_get_new_logs_with_no_prev_logs
(self)
app/update_logs_test.py:23
Methodtest_get_or_create_will_create_when_file_does_not_exist
(self)
app/secret_key_test.py:54
Methodtest_get_or_create_will_get_when_valid_file_exists
(self)
app/secret_key_test.py:16
Methodtest_get_or_create_will_recreate_file_if_content_is_corrupt
(self)
app/secret_key_test.py:43
Methodtest_get_or_create_will_recreate_if_file_has_invalid_perms
(self)
app/secret_key_test.py:26
Methodtest_grants_access_for_authenticated_admin
(self, mock_get_db, mock_username,
app/session_test.py:41
Methodtest_grants_access_for_authenticated_operator
(self, mock_get_db, mock_username,
app/session_test.py:63
Methodtest_grants_full_access_if_auth_requirement_is_off
( self, mock_get_db, mock_username, mock_credentials)
app/session_test.py:22
Methodtest_ignored_character
(self)
app/text_to_hid_test.py:38
Methodtest_ignores_update_result_if_update_is_running
If update is running, last update result does not matter.
app/update/status_test.py:42
Methodtest_keystroke_with_modifier
(self)
app/text_to_hid_test.py:13
Methodtest_keystroke_without_modifier
(self)
app/text_to_hid_test.py:9
Methodtest_language_mapping
(self)
app/text_to_hid_test.py:19
Methodtest_latest_version_raises_request_error_when_request_fails
( self, mock_urlopen)
app/version_test.py:136
Methodtest_latest_version_raises_request_error_when_response_is_not_json
( self, mock_urlopen)
app/version_test.py:103
Methodtest_latest_version_raises_request_error_when_response_is_not_json_dict
( self, mock_urlopen)
app/version_test.py:113
Methodtest_latest_version_raises_request_error_when_response_is_not_utf_8
( self, mock_urlopen)
app/version_test.py:93
Methodtest_latest_version_raises_request_error_when_response_missing_field
( self, mock_urlopen)
app/version_test.py:124
Methodtest_latest_version_when_request_is_successful
(self, mock_urlopen)
app/version_test.py:79
Methodtest_launches_update_when_no_update_is_running
(self, mock_status_get, mock_clear, mock_popen)
app/update/launcher_test.py:16
Methodtest_launches_update_when_previous_update_failed
( self, mock_status_get, mock_clear, mock_popen)
app/update/launcher_test.py:44
Methodtest_launches_update_when_previous_update_succeeded
( self, mock_status_get, mock_clear, mock_popen)
app/update/launcher_test.py:30
Methodtest_leaves_unrecognized_settings_intact
(self)
app/update/settings_test.py:128
Methodtest_local_version_raises_file_error_when_file_doesnt_exist
(self)
app/version_test.py:42
Methodtest_local_version_raises_file_error_when_file_is_empty
(self)
app/version_test.py:48
Methodtest_local_version_raises_file_error_when_file_is_not_utf_8
(self)
app/version_test.py:57
Methodtest_local_version_returns_dummy_version_when_in_debug_mode
(self)
app/version_test.py:153
Methodtest_local_version_strips_leading_trailing_whitespace
(self)
app/version_test.py:32
Methodtest_local_version_when_file_exists
(self)
app/version_test.py:22
Methodtest_noop_if_no_migrations_are_specified
(self)
app/db/store_test.py:47
Methodtest_normalizes_country_code_to_uppercase
(self)
app/request_parsers/network_test.py:38
Methodtest_normalizes_mac_address_to_use_dashes
(self, mock_cmd)
app/network_test.py:78
Methodtest_overwrites_value_of_existing_property
(self)
app/update/settings_test.py:62
Methodtest_parses_all_data
(self, mock_cmd)
app/network_test.py:108
Methodtest_parses_and_merges_valid_keystroke_message_with_defaults
(self)
app/request_parsers/keystroke_test.py:131
Methodtest_parses_different_types
(self)
app/request_parsers/json_test.py:46
Methodtest_parses_ip_address
(self, mock_cmd)
app/network_test.py:88
Methodtest_parses_left_ctrl_key
(self)
app/request_parsers/keystroke_test.py:65
Methodtest_parses_mac_address
(self, mock_cmd)
app/network_test.py:68
Methodtest_parses_minimal_valid_keystroke_with_defaults
(self)
app/request_parsers/keystroke_test.py:115
Methodtest_parses_one_required_field_from_body
(self)
app/request_parsers/json_test.py:24
Methodtest_parses_operstate_down_as_not_connected
(self, mock_cmd)
app/network_test.py:48
Methodtest_parses_operstate_up_as_connected
(self, mock_cmd)
app/network_test.py:58
Methodtest_parses_required_fields_from_body
(self)
app/request_parsers/json_test.py:16
Methodtest_parses_right_ctrl_key
(self)
app/request_parsers/keystroke_test.py:90
Methodtest_parses_valid_delete_username_request
(self)
app/request_parsers/delete_user_test.py:16
Methodtest_parses_valid_keystroke_message
(self)
app/request_parsers/keystroke_test.py:15
Methodtest_parses_valid_keystroke_message_with_all_modifiers_pushed
(self)
app/request_parsers/keystroke_test.py:40
Methodtest_parses_valid_mouse_event
(self)
app/request_parsers/mouse_event_test.py:8
Methodtest_parses_valid_mouse_event_with_all_buttons_pressed
(self)
app/request_parsers/mouse_event_test.py:98
Methodtest_parses_valid_mouse_event_with_int_position
(self)
app/request_parsers/mouse_event_test.py:23
Methodtest_parses_valid_negative_horizontal_scroll
(self)
app/request_parsers/mouse_event_test.py:68
Methodtest_parses_valid_negative_vertical_scroll
(self)
app/request_parsers/mouse_event_test.py:38
Methodtest_parses_valid_positive_horizontal_scroll
(self)
app/request_parsers/mouse_event_test.py:83
Methodtest_parses_valid_positive_vertical_scroll
(self)
app/request_parsers/mouse_event_test.py:53
Methodtest_parses_with_less_required_fields_than_actual_fields_in_body
(self)
app/request_parsers/json_test.py:37
Methodtest_parses_with_no_required_field
(self)
app/request_parsers/json_test.py:31
Methodtest_persists_new_file_in_destination_folder
(self)
app/atomic_file_test.py:49
Methodtest_populates_empty_file_with_blank_settings
(self)
app/update/settings_test.py:43
Methodtest_populates_empty_file_with_initial_data
(self)
app/update/settings_test.py:51
Methodtest_preserves_data_across_connections
(self, mock_db_connection)
app/db/settings_test.py:14
Methodtest_process_with_result_child_completed
(self)
app/execute_test.py:54
Methodtest_process_with_result_child_exception
(self)
app/execute_test.py:72
Methodtest_process_with_result_child_not_completed
(self)
app/execute_test.py:63
← previousnext →501–600 of 758, ranked by callers