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
shortcutme
3682f0aed4
Wait for db close on tests
2019-09-28 17:03:43 +02:00
shortcutme
448483371c
Formatting
2019-09-12 00:23:36 +02:00
Lola Dam
0738964e64
Save content.json of site even if limit size is reached ( #2114 )
...
* fix #2107 ; Still save the content.json received even if site size limit is reached but dont download files; Allow better distribution of latest version of content.json
* Added test
* Fix test for huge content file (now it fails)
* Dont download huge content.json file and update test
* Remove comments
2019-09-10 18:18:21 +02:00
shortcutme
1bd1ddf410
Test function flagging
2019-08-26 03:15:29 +02:00
shortcutme
7890771faa
Test permissions of websocket
2019-08-26 03:11:24 +02:00
Ivanq
01ff89315b
Add GitLab CI/CD support ( #2163 )
...
* Use GitLab CI/CD
* Force colored tests
* Get rid of an error
* Mark tests as slow
* Disable codecov & coveralls
* Python 3.5-3.8
* Add Python 3.4
* Support both OpenSSL 1.1.0 and 1.1.1+
* Test both OpenSSL 1.1.0 and 1.1.1+
* Fix OpenSSL 1.1.1
* Fix Python 3.4 build
2019-08-19 17:30:31 +02:00
shortcutme
c5116fb318
Modify testAction command to use handleRequest instead of directly calling the function
2019-08-02 16:14:44 +02:00
shortcutme
8185f4dfda
Test getFile inner_path security
2019-07-10 03:14:30 +02:00
shortcutme
f4f0e2afa8
Allow like parameters in database queries
2019-07-10 03:14:09 +02:00
shortcutme
67d6b1e724
Fix double logging when running tests
2019-07-10 03:12:56 +02:00
shortcutme
fec312ed09
Better pytest atexit logging error workaround
2019-07-03 18:37:13 +02:00
shortcutme
eb2627721e
Fix pytest 5.x compatibility
2019-07-03 18:36:41 +02:00