Commit Graph

69 Commits

Author SHA1 Message Date
Miguel Jacq
a830eb57fe
#691 remove meek_lite Amazon 2018-07-21 15:52:11 +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
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
Micah Lee
adc450c971
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
304e6db4a5
Fix path in test 2017-02-21 17:14:53 -08:00
Micah Lee
f8005a63ea
Change GPL copyright from 2016 to 2017 2017-01-06 18:58:15 -08:00
Micah Lee
115345477a
Make sure tests can find the correct paths (fixes #284) 2016-09-05 10:41:20 -07:00
Micah Lee
22f104cf65
Fix strings tests, now that load_strings needs helpers as an arg 2016-09-04 20:02:20 -07:00
jvoisin
17e389b800 Improve pep8 conformance 2016-04-18 01:40:17 +02:00
Micah Lee
f2c4591c1e Deleted obsolete slug tests 2016-04-12 17:53:19 -07:00
Micah Lee
e8ce6b1c54 Make helpers.get_pyinstaller_resource_path work when package is not frozen, and make tests report real platform to get accurate paths 2016-04-12 10:43:28 -07:00
Micah Lee
683610e962 Update copyright year to 2016 2016-02-15 22:37:28 -08:00
Micah Lee
f864e85ee3 Ported tests to python3 (#261) 2016-02-15 11:00:41 -08:00
Micah Lee
bbee1599c5 Updated copyright year to 2015 2015-09-07 21:48:49 -07:00
Micah Lee
5d37d9b7b2 Removed all of the Tails-specific code. If we use ephemeral hidden services, we no longer need to touch the filesystem, and hopefully no longer need root in Tails. 2015-09-07 21:44:29 -07:00
Thomas Waldmann
b7a0293470 pep8: remove empty lines at EOF 2014-11-18 19:03:31 +01:00