Commit graph

65 commits

Author SHA1 Message Date
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
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
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
5d113757df
Stop greenlets when deleting a site in test 2019-11-19 02:15:47 +01:00
shortcutme
3682f0aed4
Wait for db close on tests 2019-09-28 17:03:43 +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
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
f979ed133f
Workaround for pytest 0.4.1+ atexit logging errors 2019-07-01 16:25:45 +02:00
shortcutme
4ac54845fc
Fix double logging when testing 2019-04-23 02:00:59 +02:00
shortcutme
f970815645
Run tests in debug mode 2019-04-15 22:48:16 +02:00
shortcutme
f83c77e7ea
Fix plugin error message 2019-04-15 22:48:09 +02:00
shortcutme
a822238735
Use 1544 port for tor in tests 2019-04-15 22:19:38 +02:00
shortcutme
b168772d7f
Create user for tests if necessary 2019-04-15 22:19:16 +02:00
shortcutme
034e104c06
Log fileserver startup error for tests 2019-04-15 22:19:00 +02:00
shortcutme
0c0f117bc3
Don't parse config file for tests 2019-04-15 22:18:40 +02:00
shortcutme
1d4ab8833b
Test and enforce proper import plugin order in debug mode 2019-04-15 22:18:18 +02:00
shortcutme
572d55752c
Avoid random websocket test fails 2019-04-15 16:54:49 +02:00
radfish
f6e3a74567 [setuptools packaging] access modules via imports (#1969) 2019-04-15 12:31:33 +02:00
radfish
6a1d716ba1 test: refer to test data path via variable (#1964) 2019-04-10 11:30:35 +02:00
shortcutme
bad4d14cf6
Save OpenSSL rand file in data directory to avoid error message on Windows 2019-03-29 02:29:32 +01:00
shortcutme
9b36c55422
Fix pytest warning 2019-03-27 03:10:29 +01:00
shortcutme
b6286372fb
Better cleanup after tests 2019-03-27 03:10:21 +01:00
shortcutme
6d2a863af5
Sleep a bit before creating new file_server to allow connection closing 2019-03-16 00:15:43 +01:00
shortcutme
35e61a0c69
More reliable UiWebsocket testing 2019-03-16 00:15:19 +01:00
shortcutme
c474699695
Different crypto lib fixture 2019-03-16 00:14:58 +01:00
shortcutme
1e2dadf75e
Log test to log/cmd.log 2019-03-16 00:14:11 +01:00
shortcutme
b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme
e8026ef074
Non-private external ip for tests 2019-01-26 20:39:31 +01:00
shortcutme
a7509988af
Rev3802, Fix pytest warnings 2019-01-20 20:02:31 +01:00
shortcutme
d78c757b52
Automatically run all file_server tests in ipv4 and ipv6 enviroment 2019-01-20 03:11:33 +01:00
shortcutme
9871a4e36f
Fix test gevent monkey patching 2019-01-20 03:10:39 +01:00
shortcutme
68c7f502b4
Use chromedriver instead of phantomjs for testing 2018-11-26 00:10:43 +01:00
shortcutme
ea619ce99a
Fix tor disabling for tests 2018-07-16 01:56:19 +02:00
shortcutme
e1fdb90da6
Reset filters.json before tests 2018-06-25 14:25:19 +02:00
shortcutme
597c5063f3
Rev3462, Fix ConnectionServer testcases 2018-04-29 03:05:36 +02:00
shortcutme
a65d21d7e4
Fix site cleanup after test 2018-04-03 14:50:09 +02:00
shortcutme
be755fe25e
Custom logging for tests to spot possible performance bottlenecks easier 2017-10-04 13:30:17 +02:00
shortcutme
52ed170292
Create new file server for every test 2017-02-27 11:21:40 +01:00
shortcutme
8a75f200ca
No logging phantomjs 2017-01-27 14:00:41 +01:00
shortcutme
72f91a2816
Fix selenium with gevent 1.2 2017-01-27 13:05:10 +01:00
shortcutme
5fafe7cf29 Change contentdb reference to site object in test 2016-11-07 23:20:52 +01:00
shortcutme
d5b8722bb0 Kill greenlets between tests 2016-11-07 22:43:26 +01:00
shortcutme
c5851cd166 Better DB tests 2016-11-07 22:42:27 +01:00
shortcutme
bca08970ba Always disable announce when testing 2016-10-02 14:23:30 +02:00