onionshare/tests
Christian Clauss f54cd86b65
Use ==/!= to compare str, bytes, and int literals
https://docs.python.org/3/whatsnew/3.8.html#changes-in-python-behavior

The compiler now produces a SyntaxWarning when identity checks (is and is not) are used with certain types of literals (e.g. strings, numbers). These can often work by accident in CPython, but are not guaranteed by the language spec. The warning advises users to use equality tests (== and !=) instead.
2019-10-19 22:36:32 +02:00
..
__init__.py Revert "Try and move local tests into main tests dir. Rename local tests. Save test settings to unique json files to avoid race conditions" 2018-10-11 16:07:16 +11:00
conftest.py Format all code using black 2019-10-12 21:01:25 -07:00
GuiBaseTest.py Format all code using black 2019-10-12 21:01:25 -07:00
GuiReceiveTest.py Format all code using black 2019-10-12 21:01:25 -07:00
GuiShareTest.py Format all code using black 2019-10-12 21:01:25 -07:00
GuiWebsiteTest.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_401_public_mode_skips_ratelimit_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_401_triggers_ratelimit_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_quitting_during_share_prompts_warning_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_receive_mode_clear_all_button_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_receive_mode_timer_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_receive_mode_upload_non_writable_dir_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_receive_mode_upload_public_mode_non_writable_dir_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_receive_mode_upload_public_mode_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_receive_mode_upload_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_settings_dialog_legacy_tor_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_settings_dialog_no_tor_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_settings_dialog_v3_tor_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_autostart_and_autostop_timer_mismatch_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_autostart_timer_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_autostart_timer_too_short_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_cancel_share_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_clear_all_button_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_download_public_mode_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_download_stay_open_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_download_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_individual_file_view_stay_open_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_individual_file_view_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_large_download_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_password_persistent_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_timer_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_timer_too_short_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_share_mode_unreadable_file_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_website_mode_csp_enabled_test.py Format all code using black 2019-10-12 21:01:25 -07:00
local_onionshare_website_mode_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_790_cancel_on_second_share_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_receive_mode_upload_public_mode_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_receive_mode_upload_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_share_mode_cancel_share_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_share_mode_download_public_mode_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_share_mode_download_stay_open_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_share_mode_download_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_share_mode_persistent_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_share_mode_stealth_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_share_mode_timer_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_share_mode_tor_connection_killed_test.py Format all code using black 2019-10-12 21:01:25 -07:00
onionshare_share_mode_v2_onion_test.py Format all code using black 2019-10-12 21:01:25 -07:00
SettingsGuiBaseTest.py Format all code using black 2019-10-12 21:01:25 -07:00
test_helpers.py Format all code using black 2019-10-12 21:01:25 -07:00
test_onionshare_common.py Format all code using black 2019-10-12 21:01:25 -07:00
test_onionshare_settings.py Format all code using black 2019-10-12 21:01:25 -07:00
test_onionshare_strings.py Format all code using black 2019-10-12 21:01:25 -07:00
test_onionshare_web.py Use ==/!= to compare str, bytes, and int literals 2019-10-19 22:36:32 +02:00
test_onionshare.py Format all code using black 2019-10-12 21:01:25 -07:00
TorGuiBaseTest.py Format all code using black 2019-10-12 21:01:25 -07:00
TorGuiReceiveTest.py Format all code using black 2019-10-12 21:01:25 -07:00
TorGuiShareTest.py Format all code using black 2019-10-12 21:01:25 -07:00