Commit Graph

82 Commits

Author SHA1 Message Date
Miguel Jacq
8bb75cc530
Fix conflict in tests 2018-09-15 12:07:01 +10:00
Micah Lee
8312058fcc
Merge branch 'develop' into receiver-mode-gui 2018-09-14 18:59:36 -07:00
Miguel Jacq
11bf059015
Fix conflict from receiver-mode-gui branch 2018-09-04 11:48:39 +10:00
Miguel Jacq
a13e98d7bb
Fix tests for public_mode 2018-07-22 14:58:14 +10:00
Miguel Jacq
a830eb57fe
#691 remove meek_lite Amazon 2018-07-21 15:52:11 +10:00
Miguel Jacq
69ae29272c
Fix minor spelling/grammar issues 2018-07-14 16:43:21 +10:00
Micah Lee
1ad68c46d4
Merge branch 'license' into develop 2018-06-18 19:29:03 -07:00
Micah Lee
9344fbd274
Update OnionShare copyright year to 2018 2018-06-17 16:53:44 -07:00
Micah Lee
e32e850548
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
c0904b1b8d
Fix issue in test that flake discovered 2018-04-30 10:01:23 -07:00
Micah Lee
86f1fb223e
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
7ec993d2e0
Implemented test: test_share_mode_close_after_first_download 2018-04-29 18:00:10 -07:00
Micah Lee
70385dd6ac
Write a simple Web test for share mode 2018-04-29 17:51:58 -07:00
Micah Lee
73efcf81fc
Fix test from adding new settings 2018-04-29 16:47:36 -07:00
Micah Lee
b6b61f753d
Update GPL copyright year 2018-04-24 10:07:59 -07:00
Micah Lee
2ee7e74236
Remove the desktop notification setting -- everyone gets them now 2018-04-24 09:26:06 -07:00
Micah Lee
c2fecf8aa4
Fix tests after refactoring Common 2018-03-13 02:22:26 -07:00
Micah Lee
50409167d4
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
2e6538b7f8
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
2e31db8543
Fix settings test because I moved the default downloads dir 2018-03-08 05:43:45 -08:00
Micah Lee
08957c5145
Fix settings test to account for new downloads_dir setting 2018-03-05 08:54:20 -08:00
Micah Lee
471ccef9d3
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
dface51dd0
Merge pull request #588 from micahflee/ux-update
Major user experience update
2018-02-25 08:27:46 +11:00
irykoon
b2c310f2e0
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
e7e9e0ea13
Make tests look in the source code tree for resources 2018-02-10 12:57:05 -08:00
Micah Lee
af1b56e659
Fix settings test, because of adding a new setting 2018-02-07 10:54:53 -08:00
Miguel Jacq
40ee114803
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
76cf0ae107
Fix conflicts arising from the reuse_private_key branch 2018-01-16 15:30:36 +11:00
Miguel Jacq
3f3d1c751d
Fix tests for obfs4proxy 2018-01-15 12:56:24 +11:00
Miguel Jacq
3e7d4c64ff
Save the slug when using a persistent private key 2018-01-15 10:01:34 +11:00
Miguel Jacq
488d88886d
Attempt to fix tests 2018-01-13 21:03:44 +11:00
Miguel Jacq
304059ddaa
fix tests for bridge support 2017-12-11 16:28:53 +11:00
Miguel Jacq
796a4b3b5d
try and fix tests 2017-12-07 15:33:12 +11:00
Micah Lee
21e1dac2c3
Rename test files to have test_ prefix 2017-11-20 15:52:33 -08:00
Delirious Lettuce
e54d6b8648 Remove unnecessary imports, add tests 2017-07-08 11:31:25 -06:00
Delirious Lettuce
5b08372b72 Modify import (more direct), remove unnecessary parentheses 2017-07-08 11:30:26 -06:00
Delirious Lettuce
5132ef8b4f fixture instead of yield_fixture (2), remove parentheses 2017-07-08 11:29:19 -06:00
Delirious Lettuce
711ae30ba9 Initial commit, coverage of onionshare.settings.py at 92% 2017-07-08 11:23:17 -06:00
Delirious Lettuce
27b917e9e5 Add locale fixtures 2017-07-08 00:17:20 -06:00
Delirious Lettuce
99bc9ea25b Create temporary file/directory without deleting them after 2017-07-07 23:16:37 -06:00
Delirious Lettuce
cf05204e65 Add cleanup tests 2017-07-07 23:14:47 -06:00
Delirious Lettuce
17f301022b Initial commit (all current pytest fixtures) 2017-07-07 22:51:09 -06:00
Delirious Lettuce
69d1434f35 Move fixtures to conftest, remove unneeded imports, spacing 2017-07-07 22:50:11 -06:00
Delirious Lettuce
4f395add0a * 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
d23c190cdc Add conftest.py file 2017-07-07 14:26:19 -06:00
Delirious Lettuce
29f15fb9a5 initial commit of onionshare_test.py mods 2017-07-05 14:44:27 -06:00
Delirious Lettuce
50652aa74b WIP: up to 100% test coverage of common.py 2017-07-04 23:17:51 -06:00
Delirious Lettuce
f7228f7952 Remove test (ZipInfo.is_dir() is Python 3.6+ only) 2017-07-04 12:24:38 -06:00
Delirious Lettuce
348c1889ae Initial commit of previous changes, add coverage to travis 2017-07-04 12:24:38 -06:00
Micah Lee
1591888863
Renamed onionshare.helpers module to onionshare.common 2017-05-16 11:05:48 -07:00