Tamas Kocsis
1b4f93f14b
Make Debug message test cases independent from line numbers, Windows support
2020-11-30 14:37:45 +01:00
Ivanq
dd08b89c81
Make tests pass on Python 3.5
2020-10-13 20:36:39 +03:00
Ivanq
6770b450b3
Handle src/gevent/... paths
2020-10-13 19:50:08 +03:00
Ivanq
9b2772b171
Use more unique yet short paths for logging
2020-10-13 19:12:46 +03:00
shortcutme
97ad084c21
Ignore ipv6 tests if not supported by os
2020-06-18 17:22:08 +02:00
shortcutme
31d4304915
Rev4471, Allow files start with dot
2020-03-21 19:51:44 +01:00
ZeroNet
296e4aab57
Fix sslcrypto thread safety ( #2454 )
...
* Use sslcrypto instead of pyelliptic and pybitcointools
* Fix CryptMessage
* Support Python 3.4
* Fix user creation
* Get rid of pyelliptic and pybitcointools
* Fix typo
* Delete test file
* Add sslcrypto to tree
* Update sslcrypto
* Add pyaes to src/lib
* Fix typo in tests
* Update sslcrypto version
* Use privatekey_bin instead of privatekey for bytes objects
* Fix sslcrypto
* Fix Benchmark plugin
* Don't calculate the same thing twice
* Only import sslcrypto once
* Handle fallback sslcrypto implementation during tests
* Fix sslcrypto fallback implementation selection
* Fix thread safety
* Add derivation
* Bring split back
* Fix typo
* v3.3
* Fix custom OpenSSL discovery
2020-03-05 17:54:46 +01:00
Ivanq
09e65e1d95
Make ThreadPool a context manager to prevent memory leaks
2020-03-05 08:06:57 +03:00
shortcutme
11415fe082
Log mock ws caller to get more detail on random test fail
2020-01-24 16:05:19 +01:00
shortcutme
3fc80f834d
New tests for worker task manager
2019-12-31 12:55:09 +01:00
shortcutme
60146a083c
Fix ui_websocket test result with None
2019-12-21 03:30:27 +01:00
shortcutme
df87bd41b4
Log WsMock sent data itself to figure out random Crypt test fail
2019-12-21 03:22:37 +01:00
shortcutme
17fb740c51
Don't try to download bad files again in tests to avoid random test fails
2019-12-21 03:05:19 +01:00
shortcutme
975f53b95b
New logging format for tests
2019-12-21 03:01:45 +01:00
shortcutme
7ecf09a496
Allow to change test log dir with environmental variable
2019-12-18 15:24:05 +01:00
shortcutme
87fc8ced5e
Accept only my exception when testing Noparallel
2019-12-17 16:06:13 +01:00
shortcutme
2019093431
Fix testing on slower storage
2019-12-17 15:01:15 +01:00
shortcutme
61f1a741fc
Test main loop caller
2019-12-17 14:52:58 +01:00
shortcutme
f01d335835
Test noparallel multi thread compatibility
2019-12-17 14:52:13 +01:00
shortcutme
0839fdfc5e
Add reason for db close
2019-12-17 14:35:49 +01:00
shortcutme
d062f01127
Log temp site events under different name
2019-12-17 14:34:53 +01:00
shortcutme
e91fb90a45
Fix tests when running for long time
2019-12-17 14:34:29 +01:00
shortcutme
6539ca5eb0
Log spy actions to file when running tests
2019-12-17 14:33:06 +01:00
shortcutme
b138ebc519
Capture fd for pytest
2019-12-17 14:32:43 +01:00
shortcutme
79c1cd15ab
Use libev when running test
2019-12-17 14:32:17 +01:00
shortcutme
958882c1c5
Revert "Switch to sslcrypto for cryptography tasks ( #2338 )"
...
This reverts commit fbc7b6fc4f
.
2019-12-15 18:30:42 +01:00
Ivanq
fbc7b6fc4f
Switch to sslcrypto for cryptography tasks ( #2338 )
...
* Use sslcrypto instead of pyelliptic and pybitcointools
* Fix CryptMessage
* Support Python 3.4
* Fix user creation
* Get rid of pyelliptic and pybitcointools
* Fix typo
* Delete test file
* Add sslcrypto to tree
* Update sslcrypto
* Add pyaes to src/lib
* Fix typo in tests
* Update sslcrypto version
* Use privatekey_bin instead of privatekey for bytes objects
* Fix sslcrypto
* Fix Benchmark plugin
* Don't calculate the same thing twice
* Only import sslcrypto once
* Handle fallback sslcrypto implementation during tests
* Fix sslcrypto fallback implementation selection
2019-12-15 12:46:06 +01:00
shortcutme
71939097b0
Make execution order test more predictable
2019-12-11 20:04:39 +01:00
shortcutme
c8214bf3ea
Fix threadpool test premature end on some platforms
2019-12-04 12:47:47 +01:00
shortcutme
1935a69c04
Add session based log disable at test
2019-12-04 12:46:44 +01:00
shortcutme
ea5f64bfea
Only log at start of the test cases
2019-12-04 12:46:13 +01:00
shortcutme
c10dd5239e
Log test case start/end and debug message
2019-11-30 02:08:11 +01:00
shortcutme
fa0d1a50b5
Better test of threadpool
2019-11-30 02:07:40 +01:00
shortcutme
66a1c4d242
Multi-process and gevent loop friendly lock
2019-11-30 02:07:30 +01:00
shortcutme
1b2eee058c
Log test case start and end
2019-11-27 03:03:31 +01:00
shortcutme
777486a5be
Try new way to avoid pytest io errors
2019-11-27 03:03:22 +01:00
shortcutme
66a950a481
New, much faster worker task sorting
2019-11-25 14:43:28 +01:00
shortcutme
c52d47b15f
Don't show notifications when testing
2019-11-25 14:35:31 +01:00
shortcutme
9a43626aa6
When testing don't register shutdown functions
2019-11-25 14:35:16 +01:00
shortcutme
c14e722303
Fix bug that someomes blocked plugins accessing connectionserver sitelist
2019-11-25 14:34:46 +01:00
shortcutme
5aa115c88a
Heavier task in thread pool test to make sure it will pass
2019-11-19 02:25:28 +01:00
shortcutme
58214c0ac3
Move file writes and reads to separate thread
2019-11-19 02:16:20 +01:00
shortcutme
5d113757df
Stop greenlets when deleting a site in test
2019-11-19 02:15:47 +01:00
shortcutme
08fee35bcf
Fix pytest output capturing error
2019-11-19 01:39:16 +01:00
ZeroNet
8d95eb937f
Longer timeout to close connections in ssl connection test
2019-11-11 17:14:36 +01:00
shortcutme
d569d9488a
Deny invalid files on Windows
2019-11-07 02:47:19 +01:00
shortcutme
f172751df3
Test utf8 filename download
2019-11-07 02:44:54 +01:00
shortcutme
13233d47bd
Fix long running test
2019-11-07 02:44:33 +01:00
Josh
74d7d92a4d
Allow all valid filenames to be added to content.json ( #2141 )
...
* Allow all valid filenames to be added to content.json
* Replace hex version of regex with non-hex version
* Add basic test for path validation with ASCII and UTF-8 filenames
* Amend path validation test to meet standards
2019-11-07 02:18:27 +01:00
shortcutme
119e1a9bf0
Simple cache decorator
2019-10-06 03:09:48 +02:00