Commit Graph

20 Commits

Author SHA1 Message Date
Thomas Waldmann
b7a0293470 pep8: remove empty lines at EOF 2014-11-18 19:03:31 +01:00
Thomas Waldmann
087102bde4 pep8: too long lines, reformat lines to < 120 chars. removed redundancy from long_description in setup.py.
note: pep8 usually recommends 80 chars, but I find that impractical and unnecessary - it's not 1980 any more when code was edited on 80x25 terminals.

i was a bit wondering about onionshare-launcher.py - it does a lot of imports, but does not use the imported names.
2014-11-18 18:59:48 +01:00
Thomas Waldmann
179eefae29 pep8: fix empty line counts
top level: 2, else 1

I also advice to not put "pass" into empty classes, but rather a docstring instead of "pass".
2014-11-18 18:29:32 +01:00
Thomas Waldmann
5deb3f9e0f pep8: fix indentation to be a multiple of four
note: i used pycharm "reformat file", so there are other reformattings also
2014-11-18 18:03:34 +01:00
Thomas Waldmann
d51f762ddd pep8: use triple double-quotes for docstrings 2014-11-18 17:39:04 +01:00
Thomas Waldmann
46492e0446 fix typos 2014-10-26 14:40:41 +01:00
Micah Lee
c159ef671d removed unused strings 2014-09-18 00:26:22 +00:00
Micah Lee
e4f0e5e8b3 fixed test_load_strings_loads_other_languages, because french strings were updated 2014-09-02 17:26:59 -07:00
Micah Lee
3ce43a65b6 Merge pull request #120 from r4v5/fix-travis
Fix the travis build
2014-09-02 17:12:05 -07:00
Micah Lee
a6e99fcc21 added GPLv3 license to each source file 2014-09-02 12:10:42 -07:00
Mason Donahue
15a917c60e Test fix: OnionShare object doesn't have a port until we tell it to get one. 2014-08-31 15:06:12 -05:00
Micah Lee
3f59fe7af0 deleted file_crunching tests 2014-08-27 13:55:44 -07:00
Micah Lee
a32ca2f7a9 split tests into multiple files, and fixed tests to work with refactor 2014-08-26 18:38:46 -07:00
Mason Donahue
925316339c The code for Tails's firewall-punching was refactored without updating the tests. This updates the tests. 2014-08-23 16:57:28 -05:00
Micah Lee
4ac7111011 switch random strings from hex-encoded to base32-encoded 2014-06-23 16:15:02 -04:00
Micah Lee
e00a888b9d randomize the name of hidden service directories (fixes #28) 2014-06-20 20:45:31 -04:00
Micah Lee
6699a6285c removed test_tails_appends_to_path because that no longer happens. changed test_get_platform_returns_env_var to test_get_platform_on_tails, because now it checks platform.uname() 2014-06-10 18:47:55 -04:00
Connor Mendenhall
d64af1673a Add unit tests: file stats and port selection. 2014-06-02 22:47:11 -05:00
Connor Mendenhall
47ba6043ce Add more unit tests. 2014-05-30 22:06:08 -05:00
Connor Mendenhall
3a3b8fb21d Start adding nose tests. 2014-05-30 19:55:28 -05:00