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
shortcutme
ff32f822ba
Raise exception instead of using assert
2019-07-03 18:35:55 +02:00
shortcutme
f979ed133f
Workaround for pytest 0.4.1+ atexit logging errors
2019-07-01 16:25:45 +02:00
Lola Dam
753396ac0c
Try and catch block for dbRebuild ( #2047 )
...
* Try and catch block for dbRebuild
* Use self.log.error and not logging
* Use self.log.error and not logging in SiteStorage also
* Check if the rebuild is working
2019-06-23 14:21:50 +02:00
ZeroNet
6254143fc6
Fix noparallel ignoreclass test
2019-06-11 18:24:44 +02:00
shortcutme
862e19a263
Rev4104, Don't start blocking Noparallel calls in separate greenlet to be able to catch exceptions.
2019-06-11 17:04:37 +02:00
shortcutme
eeef6fe65f
Rev4102, Fix fileGet test
2019-06-06 03:17:42 +02:00
shortcutme
4222c31b3e
Don't push body of content.json with updates if larger than 10kb
2019-05-30 04:26:41 +02:00
shortcutme
6b9106b178
Test verify of compressed and uncompressed address signature
2019-05-02 17:18:31 +02:00
shortcutme
4ac54845fc
Fix double logging when testing
2019-04-23 02:00:59 +02:00
shortcutme
6bd63ff42a
Test file renames
2019-04-23 01:59:12 +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
a3f957427f
Make sure the test went without unnecessary reconnects
2019-03-27 03:10:58 +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
4aee7a6c61
Make openLocked always return BlockingIOError on fail
2019-03-20 01:05:52 +01:00
shortcutme
63ba0a5551
Fix tests on Python 3.5
2019-03-20 00:46:57 +01:00
shortcutme
c7bfe0d537
Fix Upnp test
2019-03-20 00:46:16 +01:00
shortcutme
cfdc6bac7b
Remove test lock files after test
2019-03-18 01:08:02 +01:00
shortcutme
ea638dd0e0
Fix Noparallel test on slower machines
2019-03-16 03:02:59 +01:00
shortcutme
567855e2d2
TestHelper formatting
2019-03-16 02:49:41 +01:00
shortcutme
95cf47d9a4
Test site download with all avaliable crypto lib
2019-03-16 01:01:30 +01:00
shortcutme
dfad2370aa
Test file locking
2019-03-16 01:01:06 +01:00
shortcutme
331e25cc41
Test content rules with all avaliable crypto lib
2019-03-16 01:00:49 +01:00
shortcutme
6dcf7e8088
Remove testing of old signature
2019-03-16 01:00:21 +01:00
shortcutme
99690a6145
Test longer string signing
2019-03-16 00:59:27 +01:00
shortcutme
27bcc3c685
Test sign and verify with all crypto lib avaliable
2019-03-16 00:59:11 +01:00
shortcutme
bb60558968
Test hashing functions
2019-03-16 00:57:50 +01:00
shortcutme
af38a3927a
Test utf8 diffing
2019-03-16 00:57:03 +01:00
shortcutme
bf6771152e
Test backward compatibility to py2 byte-less msgpack unpacker
2019-03-16 00:56:50 +01:00
shortcutme
48b6c81b36
Test msgpack streaming with binary data
2019-03-16 00:56:25 +01:00
shortcutme
d95da7372a
Feed Msgpack unpacker as byte
2019-03-16 00:54:27 +01:00
shortcutme
231037b0fe
Test Msgpack result
2019-03-16 00:54:12 +01:00
shortcutme
c481d20ce8
Use new libs in Msgpack tests
2019-03-16 00:54:00 +01:00
shortcutme
dc32556983
Add utf8 and binary data to msgpack test vector
2019-03-16 00:53:18 +01:00
shortcutme
d7b43f4722
Same priority file download order does not matter
2019-03-16 00:51:32 +01:00
shortcutme
ca29fcec7d
findHashId order does not matter
2019-03-16 00:50:25 +01:00
shortcutme
bd637d661a
Test translate of utf8 strings
2019-03-16 00:49:09 +01:00
shortcutme
ef8174af70
All problematic characters will be escaped
2019-03-16 00:48:56 +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
b47920169f
Test unsupported pex peers removing
2019-02-24 02:29:27 +01:00
shortcutme
6662b4f047
Test sql queries with lots of variables
2019-01-26 20:40:58 +01:00
shortcutme
e8026ef074
Non-private external ip for tests
2019-01-26 20:39:31 +01:00
shortcutme
cefc6f8eac
Test private ip match
2019-01-26 20:38:30 +01:00
shortcutme
0a03c30e8a
findHashId will return real address used by the connection
2019-01-24 15:19:19 +01:00
shortcutme
a7509988af
Rev3802, Fix pytest warnings
2019-01-20 20:02:31 +01:00
shortcutme
e2d17fe20f
Ipv6 test of address packing and unpacking
2019-01-20 19:08:15 +01:00
shortcutme
9e5be7ffcf
Fix noparallel test on slow cpu
2019-01-20 19:07:48 +01:00
shortcutme
44dc3035a5
Make network test compatible with ipv6
2019-01-20 19:07:16 +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
Mickaël Schoentgen
e8298726ca
Fix DeprecationWarning: invalid escape sequence
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-06 15:15:47 +01:00
shortcutme
bda238344c
Test isIp, isPrivateIp
2018-12-19 13:25:20 +01:00
shortcutme
36f2998c91
Test if js works in raw and normal mode
2018-11-26 00:12:12 +01:00
shortcutme
131926cad8
Make current url getting compatible with chromedriver
2018-11-26 00:11:58 +01:00
shortcutme
d588327c1c
Change wget to getUrl
2018-11-26 00:11:25 +01:00
shortcutme
68c7f502b4
Use chromedriver instead of phantomjs for testing
2018-11-26 00:10:43 +01:00
shortcutme
06fa669f8c
Test escaping in translation underline helper
2018-11-26 00:09:46 +01:00
shortcutme
5178a288ca
Fix error message testing
2018-11-08 01:31:23 +01:00
shortcutme
7c6702057d
Test invalid cert user id
2018-11-08 01:30:56 +01:00
shortcutme
c1aad3882c
Test signers pattern
2018-11-08 01:30:32 +01:00
shortcutme
cf7d194dbf
Remove missing optional files from content.json on cloning
2018-11-07 22:48:35 +01:00
shortcutme
6a240919bf
Test archived before
2018-10-15 12:58:39 +02:00
shortcutme
d04b759913
Allow more time inaccuracy for noparallel test
2018-09-17 15:40:44 +02: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
d61cd96d8f
VerifyFiles call returns more detailed statistics
2018-03-29 02:49:06 +02:00
shortcutme
077d9d3918
Increase selenium test timeouts
2018-03-21 21:40:44 +01:00
shortcutme
ee81aea2fa
Wait until title in link security test
2018-03-20 22:27:32 +01:00
shortcutme
1189c76691
Add existing bigfiles to piecefield if they were downloaded outside of ZeroNet
2018-03-14 22:21:45 +01:00
shortcutme
357fd895bf
Add msgpack test
2018-02-23 15:44:07 +01:00
shortcutme
3d0a20452f
Fix site archived download test
2018-02-20 10:18:35 +01:00
shortcutme
8ff3bbc9a7
Local ip not added to ips
2018-02-08 18:02:40 +01:00
shortcutme
3e7a4f593a
Fix tor PEX test as private peers no longer got exchanged
2018-01-30 14:29:10 +01:00
shortcutme
c2edbb30b5
Don't send private ip addresses on pex
2018-01-30 13:58:01 +01:00
shortcutme
99fdbcd1fe
Fix ratelimit test
2018-01-19 02:32:11 +01:00
shortcutme
4f6a496c36
Test named db select arguments
2018-01-05 20:22:56 +01:00