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
Micah Lee
3037727890
Format all code using black
2019-10-12 21:01:25 -07:00
Micah Lee
18961fea2d
Fix web tests to use basic auth and passwords instead of slugs
2019-05-23 09:53:18 -07:00
Micah Lee
4df989dc77
Rename slugs to passwords in the tests
2019-05-22 20:55:31 -07:00
Miguel Jacq
93a4905b72
Use a custom Settings object in test_onionshare_web.py, rather than potentially load non-ephemeral settings
2019-02-26 11:10:09 +11:00
Miguel Jacq
d3b5e1e256
Merge develop branch and fix conflicts
2018-11-13 14:45:40 +11:00
Miguel Jacq
10cdfa7631
Move GUI tests into tests/ dir and fix conftest related stuff so everything loads what it needs and passes
2018-10-13 10:35:09 +11:00
Miguel Jacq
f653e8cc04
Merge develop in and fix upload/timer functionality so that it works as described. Still needs fixing to not throw a connection error to the lucky last uploader after their upload completes and server stops due to expiry having passed
2018-10-01 16:42:54 +10:00
Miguel Jacq
8fc8e0765c
Rename test dir to tests. Rename unit_tests to tests_gui_local. Add test dependencies. Update various paths. Add GUI unit tests docs to BUILD.md
2018-09-27 15:54:46 +10:00