Commit graph

191 commits

Author SHA1 Message Date
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
shortcutme
1d5c0597d9
Ignore site list order 2017-12-15 01:58:57 +01:00
shortcutme
fdd82f7ac4
Rev3146, Limit noparallel queue to one call 2017-11-20 03:13:58 +01:00
shortcutme
5026f1b0a8
Delay RateLimit call after delayed call triggered 2017-11-09 13:32:21 +01:00
shortcutme
9034449e96
Fix fileInfo test 2017-10-26 10:50:56 +02:00
shortcutme
4efcfa8bf4
Rev3112, Allow user rules based on auth address 2017-10-16 20:26:41 +02:00
shortcutme
0b9bc56959
Test sub-directory files in user diretories 2017-10-04 13:36:14 +02:00
shortcutme
e9beeb85fc
Use with to open files to avoid keeping them open in case of errors 2017-10-04 13:35:55 +02:00
shortcutme
a71e82c315
Test user sub-directories inner_path 2017-10-04 13:35:15 +02:00
shortcutme
d176150248
Test multiple length of message for signing 2017-10-04 13:34:50 +02:00
shortcutme
ab9fa9ec0c
Mark data/optional.* as optional for test site 2017-10-04 13:34:14 +02:00
shortcutme
3d57fbb1b8
Use the real size of content.json instead of predefine it 2017-10-04 13:33:26 +02:00
shortcutme
f0f9240fc8
getDirname strips the leading / chars 2017-10-04 13:33:00 +02:00
shortcutme
b1bfe39cd5
Use merged getFile function call to download file using streaming 2017-10-04 13:32:39 +02:00
shortcutme
c82b19687a
Spy object also stores the called object 2017-10-04 13:31:49 +02:00
shortcutme
be755fe25e
Custom logging for tests to spot possible performance bottlenecks easier 2017-10-04 13:30:17 +02:00
shortcutme
0f0f3894ff
request from directory . should drop forbidden error 2017-10-04 12:48:48 +02:00
shortcutme
a2182e8a8d
Invalid nonce requests automatically shows wrapper now 2017-10-04 12:48:16 +02:00
shortcutme
bf672bdec3
Add new test to unsafe matches 2017-07-18 20:55:04 +02:00
shortcutme
6a4882d81d
Test SafeRe repetition limit 2017-07-15 01:31:08 +02:00
shortcutme
3459d35ed2
Test unsafe regex pattern recognization 2017-07-14 10:37:09 +02:00
shortcutme
699a8be721
Test unsafe patterns in dbschema 2017-07-14 10:36:41 +02:00
shortcutme
1f4a5643db
Test unsafe regex patterns on sign and verify 2017-07-14 10:36:18 +02:00
shortcutme
492408def7
Use class variable to store test site privatekey 2017-07-14 10:35:44 +02:00
shortcutme
b60a1ec455
Test invalid filenames 2017-07-13 19:33:07 +02:00
shortcutme
f630e6c25e
Test raw access security 2017-07-10 02:42:41 +02:00
shortcutme
b7106995b7
Test size errors on getFile 2017-06-19 16:14:14 +02:00
shortcutme
dca3c775d1
Test expect exact sign and verification errors 2017-06-19 16:13:58 +02:00
shortcutme
aa402ebaf3
Fix typo 2017-06-13 14:13:09 +02:00
shortcutme
bf042ce7a3
Rev2060, Only boost all.js and all.css priority, really fix download priority test 2017-05-07 21:34:44 +02:00
shortcutme
f67cb7b145
Rev2059, Fix download test, boost priority on request by 15, Adjust default priorities 2017-05-07 21:21:26 +02:00
shortcutme
fbed15318b
Fix file request testcase 2017-04-14 00:34:40 +02:00
shortcutme
f3edd8013d
Rev2034, Fix leaking users.json via webui 2017-04-09 16:54:28 +02:00
MuxZeroNet
2cb8cc9107 Update TestWeb.py 2017-04-06 23:14:46 +00:00
shortcutme
233d5f31f2
Support ignore_class and queue to noparallel decorator 2017-04-01 22:32:06 +02:00
shortcutme
d7496d6fd5
Boost js, css, dbschema and non-user json file priority 2017-03-12 17:55:47 +01:00
shortcutme
f46f9fa6ea
Test new content.json content 2017-03-12 13:13:47 +01:00
ZeroNet
0e2f742b7e Merge pull request #842 from mishfit/refactorListAndWalk
Rename SiteStorage.list to SiteStorage.walk
2017-03-04 12:39:06 +01:00
shortcutme
52ed170292
Create new file server for every test 2017-02-27 11:21:40 +01:00
mishfit
656c818211 rename SiteStorage.list to SiteStorage.walk
also, add SiteStorage.list as non-recursive
directory listing (`os.listdir`)
2017-02-24 21:58:46 -07:00
shortcutme
38d330da1a
Rename db.loadJson to db.updateJson 2017-02-09 01:53:31 +01:00
shortcutme
8a75f200ca
No logging phantomjs 2017-01-27 14:00:41 +01:00
shortcutme
d65c7d05a4
Remove /media access 2017-01-27 13:05:49 +01:00
shortcutme
72f91a2816
Fix selenium with gevent 1.2 2017-01-27 13:05:10 +01:00
shortcutme
c57d0283b3
Fix optional files test 2017-01-27 13:04:32 +01:00
shortcutme
e4cfec3ba0 Test strict translator 2016-11-18 20:03:00 +01:00
shortcutme
5fafe7cf29 Change contentdb reference to site object in test 2016-11-07 23:20:52 +01:00
shortcutme
0214741345 Hashfield test fix 2016-11-07 22:44:03 +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
sirMackk
bd5ebdb2de Integrates updated upnppunch with project; Makes project close ports using UPnP on exit. 2016-09-09 12:37:22 +02:00
shortcutme
b8bf773c40 Make test compatible with new content.db 2016-09-05 13:58:10 +02:00
shortcutme
6c6ce54a20 Run test in verbose mode 2016-08-26 11:42:44 +02:00
shortcutme
5061e0051a Test missing cert verification 2016-08-22 03:41:12 +02:00
ZeroNet
b7b238b890 Re-sign testdata 2016-08-10 13:00:14 +02:00
ZeroNet
96f368c7e2 Test user file archiving 2016-08-10 12:59:42 +02:00
HelloZeroNet
b66149bce8 Remove unnecessary test data 2016-05-06 11:18:37 +02:00
HelloZeroNet
14db5c8469 Sql memory benchmark update 2016-04-18 00:48:14 +02:00
HelloZeroNet
3dd99626ff Test DbQuery 2016-04-18 00:47:42 +02:00
HelloZeroNet
bbf1bc163d Extra debug messages, cleanup unused lines 2016-04-10 13:25:11 +02:00
HelloZeroNet
083f86412b Test diff and site updating 2016-04-06 14:01:20 +02:00
HelloZeroNet
8c09fd39db Start clean site directory for every test 2016-04-06 13:45:31 +02:00
HelloZeroNet
9a15cd80b6 Fix broken tests caused by removing signs from memory 2016-04-06 13:44:31 +02:00
HelloZeroNet
d222018bb6 Parse config plugins on test 2016-03-23 13:30:18 +01:00
Erkan Yilmaz
b5d74eec16 typo: definied -> defined 2016-03-21 09:43:53 +01:00
HelloZeroNet
cd2aa033b4 Allow the site owner to modify banned users file 2016-03-17 01:56:25 +01:00
HelloZeroNet
16d01c961e Wait port opening before start running tests 2016-03-16 21:09:07 +01:00
HelloZeroNet
5a234745fc Wait more for port opening 2016-03-16 00:34:57 +01:00
HelloZeroNet
e891a10e54 Rev957, Sidebar displays onion peers in graph, Sidebar display bad file retry number, Sidebar site Update/Pause/Delete, Ratelimit sidebar update, Encoded typo, Fix onion findHashId, More retry for bad files, Log file path errors, Testcase for self findhashIds, Testcase for Tor findHashId, Better Tor version parse, UiWebsocket callback on update/pause/resume/delete, Skip invalid postMessage messages 2016-03-09 00:48:57 +01:00
HelloZeroNet
1dbc33445f Rev903, FeedQuery command only available for ADMIN sites, Show bad files in sidebar, Log unknown messages, Add and check inner_path and site address on sign/verify, Better peer cleanup limit, Log site load times, Testcase for address and inner_path verification, Re-sign testsite with new fields, Fix unnecessary loading screen display when browsing sub-folder with index.html, Fix safari notification width 2016-02-18 11:22:21 +01:00
HelloZeroNet
61cfb8aa2f Rev900, Sidebar filestats bar width round fix, Sidebar WebGL not supported error, Sidebar optimalizations, Trayicon gray shadow, Trim end of line whitespace from json files, Fix testweb testcase, Implement experimental postMessage nonce security, Return None when testing external ip, Window opener security check and message, Increase timeout for large files 2016-02-10 02:30:04 +01:00