ZeroNet/src/Test
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
..
testdata/1TeSTvb4w2PWE81S2rEELgmX2GCCExQGT-original Mark data/optional.* as optional for test site 2017-10-04 13:34:14 +02:00
__init__.py First release, remove not used lines from gitignore 2015-01-12 02:03:45 +01:00
BenchmarkSsl.py Change to Python3 coding style 2019-03-15 21:06:59 +01:00
conftest.py Wait for db close on tests 2019-09-28 17:03:43 +02:00
coverage.ini Rev427, Ignore repr from coverage, Add RateLimit call penalty to, Event test, Noparallel test, RateLimit test, Remove falling Pypy test 2015-09-21 02:36:23 +02:00
pytest.ini Add GitLab CI/CD support (#2163) 2019-08-19 17:30:31 +02:00
Spy.py Change to Python3 coding style 2019-03-15 21:06:59 +01:00
TestCached.py Simple cache decorator 2019-10-06 03:09:48 +02:00
TestConfig.py Rev426, Fix for nonce error on bigsites asking, Dont display error details on 404 error, Dont log Websocket close errors, Add travis pip caching and osx test, Add build status to readme, Test for site files after cloning, Test for json to db mapping, Test site deleteFiles command, Test user certificate and auth address generation, Exclude debug lines from coverage, Dont run webtests every time 2015-09-20 22:35:45 +02:00
TestConnectionServer.py Make sure the test went without unnecessary reconnects 2019-03-27 03:10:58 +01:00
TestContent.py Allow all valid filenames to be added to content.json (#2141) 2019-11-07 02:18:27 +01:00
TestContentUser.py Fix pytest 5.x compatibility 2019-07-03 18:36:41 +02:00
TestCryptBitcoin.py Test verify of compressed and uncompressed address signature 2019-05-02 17:18:31 +02:00
TestCryptConnection.py Rev445, Fix ConnectionServer peer_id handling, Faster startup by creating ssl certs on FileServer start, Per-site connection_server, Fix double Db opening, Test site downloading, Sign testsite properly, Test ConnectionServer, Test FileRequest 2015-09-24 22:08:08 +02:00
TestCryptHash.py Test hashing functions 2019-03-16 00:57:50 +01:00
TestDb.py Allow like parameters in database queries 2019-07-10 03:14:09 +02:00
TestDbQuery.py [setuptools packaging] access modules via imports (#1969) 2019-04-15 12:31:33 +02:00
TestDiff.py Test utf8 diffing 2019-03-16 00:57:03 +01:00
TestEvent.py Rev445, Fix ConnectionServer peer_id handling, Faster startup by creating ssl certs on FileServer start, Per-site connection_server, Fix double Db opening, Test site downloading, Sign testsite properly, Test ConnectionServer, Test FileRequest 2015-09-24 22:08:08 +02:00
TestFileRequest.py Test getFile inner_path security 2019-07-10 03:14:30 +02:00
TestFlag.py Test function flagging 2019-08-26 03:15:29 +02:00
TestHelper.py Raise exception instead of using assert 2019-07-03 18:35:55 +02:00
TestMsgpack.py Fix tests on Python 3.5 2019-03-20 00:46:57 +01:00
TestNoparallel.py Fix pytest 5.x compatibility 2019-07-03 18:36:41 +02:00
TestPeer.py Change to Python3 coding style 2019-03-15 21:06:59 +01:00
TestRateLimit.py Fix ratelimit test 2018-01-19 02:32:11 +01:00
TestSafeRe.py Fix pytest 5.x compatibility 2019-07-03 18:36:41 +02:00
TestSite.py test: refer to test data path via variable (#1964) 2019-04-10 11:30:35 +02:00
TestSiteDownload.py Formatting 2019-09-12 00:23:36 +02:00
TestSiteStorage.py Try and catch block for dbRebuild (#2047) 2019-06-23 14:21:50 +02:00
TestTor.py findHashId order does not matter 2019-03-16 00:50:25 +01:00
TestTranslate.py Test translate of utf8 strings 2019-03-16 00:49:09 +01:00
TestUiWebsocket.py Test permissions of websocket 2019-08-26 03:11:24 +02:00
TestUpnpPunch.py Fix pytest 5.x compatibility 2019-07-03 18:36:41 +02:00
TestUser.py Change to Python3 coding style 2019-03-15 21:06:59 +01:00
TestWeb.py Change to Python3 coding style 2019-03-15 21:06:59 +01:00