79 Commits

Author SHA1 Message Date
Micah Lee
905a444099 Merge branch 'develop' into receiver-mode-gui 2018-09-14 18:59:36 -07:00
Miguel Jacq
a6bc01533b #691 remove meek_lite Amazon 2018-07-21 15:52:11 +10:00
Miguel Jacq
cb47c34942 Fix minor spelling/grammar issues 2018-07-14 16:43:21 +10:00
Micah Lee
48e9beb1bb Merge branch 'license' into develop 2018-06-18 19:29:03 -07:00
Micah Lee
e05cee19bc Update OnionShare copyright year to 2018 2018-06-17 16:53:44 -07:00
Micah Lee
87e8652c18 Fix stay_open regression bug. Before, it was closing automatically even when the setting wasn't set. Also, remove the --stay-open option from the GUI, since GUI settings are set in the settings dialog not cli args 2018-05-04 16:35:32 -07:00
Micah Lee
51730883ad Fix issue in test that flake discovered 2018-04-30 10:01:23 -07:00
Micah Lee
876e7145d0 Add a few receive mode web tests, to test the receive_allow_receiver_shutdown and receive_public_mode settings 2018-04-29 18:19:00 -07:00
Micah Lee
69b799fe80 Implemented test: test_share_mode_close_after_first_download 2018-04-29 18:00:10 -07:00
Micah Lee
b162104b55 Write a simple Web test for share mode 2018-04-29 17:51:58 -07:00
Micah Lee
6b2109f2da Fix test from adding new settings 2018-04-29 16:47:36 -07:00
Micah Lee
52fa4f3485 Update GPL copyright year 2018-04-24 10:07:59 -07:00
Micah Lee
dd5e5ec247 Remove the desktop notification setting -- everyone gets them now 2018-04-24 09:26:06 -07:00
Micah Lee
37389f85ac Fix tests after refactoring Common 2018-03-13 02:22:26 -07:00
Micah Lee
c1ff40b5b3 Completely refactor common to make a Common class, and pass that class down into all parts of the program 2018-03-08 10:18:31 -08:00
Micah Lee
d2a11e696e Move ZipWriter from common into web, because that's the only place it's used 2018-03-08 05:45:07 -08:00
Micah Lee
73e7e2285f Fix settings test because I moved the default downloads dir 2018-03-08 05:43:45 -08:00
Micah Lee
e3a543f66d Fix settings test to account for new downloads_dir setting 2018-03-05 08:54:20 -08:00
Micah Lee
c7728e739f Remove test_frozen_windows test because it is verify difficult to test for on a non-Windows platform 2018-02-24 19:17:18 -08:00
Miguel Jacq
6b91b90bc6 Merge pull request #588 from micahflee/ux-update
Major user experience update
2018-02-25 08:27:46 +11:00
irykoon
25e3c7b24d Support meek_lite Pluggable Transport
Currently, meek/meek_lite is one of the few, if not only, mature pluggable transport that works in some heavily cenosored areas, for example, China. Therefore, this can be a nice feature to have.
2018-02-15 23:19:53 +00:00
Micah Lee
6a18a211e2 Make tests look in the source code tree for resources 2018-02-10 12:57:05 -08:00
Micah Lee
cc70b593ce Fix settings test, because of adding a new setting 2018-02-07 10:54:53 -08:00
Miguel Jacq
e4eafd7aeb Extract tor and obfs4proxy executables from the main TorBrowser executable with 7-zip on Windows 2018-01-17 12:45:37 +11:00
Miguel Jacq
f14521af6a Fix conflicts arising from the reuse_private_key branch 2018-01-16 15:30:36 +11:00
Miguel Jacq
f91476cdc6 Fix tests for obfs4proxy 2018-01-15 12:56:24 +11:00
Miguel Jacq
e8a4d513b4 Save the slug when using a persistent private key 2018-01-15 10:01:34 +11:00
Miguel Jacq
efb9ba2e26 Attempt to fix tests 2018-01-13 21:03:44 +11:00
Miguel Jacq
0c8231f726 fix tests for bridge support 2017-12-11 16:28:53 +11:00
Miguel Jacq
90807727c8 try and fix tests 2017-12-07 15:33:12 +11:00
Micah Lee
fac6debe32 Rename test files to have test_ prefix 2017-11-20 15:52:33 -08:00
Delirious Lettuce
f7556102b1 Remove unnecessary imports, add tests 2017-07-08 11:31:25 -06:00
Delirious Lettuce
8a70c60632 Modify import (more direct), remove unnecessary parentheses 2017-07-08 11:30:26 -06:00
Delirious Lettuce
d837652cd9 fixture instead of yield_fixture (2), remove parentheses 2017-07-08 11:29:19 -06:00
Delirious Lettuce
22906249e7 Initial commit, coverage of onionshare.settings.py at 92% 2017-07-08 11:23:17 -06:00
Delirious Lettuce
da1e744150 Add locale fixtures 2017-07-08 00:17:20 -06:00
Delirious Lettuce
19b41cc3b6 Create temporary file/directory without deleting them after 2017-07-07 23:16:37 -06:00
Delirious Lettuce
d5792bd357 Add cleanup tests 2017-07-07 23:14:47 -06:00
Delirious Lettuce
1fa5d3a2a6 Initial commit (all current pytest fixtures) 2017-07-07 22:51:09 -06:00
Delirious Lettuce
bdf9765234 Move fixtures to conftest, remove unneeded imports, spacing 2017-07-07 22:50:11 -06:00
Delirious Lettuce
7724df923f * Use re.verbose on LOG_MSG_REGEX
* Create new fixtures for creating temporary files and directories
* Modify custom_zw fixture to include custom callback function to test
* Delete parent directory of ZipWriter file from default_zw fixture
* Modify monkeypatch arguments
* Group tests into separate classes for each function
* Parametrize ZeroDivisionError tests
* Test all regular expressions
* Use new fixtures to ensure proper deletion of files after testing
2017-07-07 21:33:45 -06:00
Delirious Lettuce
6558d2f7ce Add conftest.py file 2017-07-07 14:26:19 -06:00
Delirious Lettuce
8456591424 initial commit of onionshare_test.py mods 2017-07-05 14:44:27 -06:00
Delirious Lettuce
03a4df4980 WIP: up to 100% test coverage of common.py 2017-07-04 23:17:51 -06:00
Delirious Lettuce
b247d589d1 Remove test (ZipInfo.is_dir() is Python 3.6+ only) 2017-07-04 12:24:38 -06:00
Delirious Lettuce
97a48a76e3 Initial commit of previous changes, add coverage to travis 2017-07-04 12:24:38 -06:00
Micah Lee
6b35a44d41 Renamed onionshare.helpers module to onionshare.common 2017-05-16 11:05:48 -07:00
Micah Lee
6e69590663 Move choose_port tests into helpers tests, and delete the obsolete onionshare tests. (I really need to write more tests...) 2017-04-19 09:06:54 -07:00
Micah Lee
32ddcc797c Fix path in test 2017-02-21 17:14:53 -08:00
Micah Lee
c0a26b7c6c Change GPL copyright from 2016 to 2017 2017-01-06 18:58:15 -08:00