aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* avoid using capfd to test cliHEADmasterTomasz Kramkowski2023-04-041-4/+6
|
* very basic cli testTomasz Kramkowski2023-03-291-0/+12
|
* remove unused variableTomasz Kramkowski2023-03-281-1/+0
|
* remove unused importsTomasz Kramkowski2023-03-282-2/+2
|
* Make authenticate easier to test without monkeypatchingTomasz Kramkowski2023-03-281-22/+17
| | | | | | By having authenticate be a function taking a parameter to a getter which can get an Auth from an Env, it's now possible to test it without needing monkeypatching.
* remove superfluous importTomasz Kramkowski2023-03-281-1/+0
|
* Split Store into Store and AuthTomasz Kramkowski2023-03-282-5/+5
| | | | This separates the concerns
* Switch back to centralised opening of the databaseTomasz Kramkowski2023-03-283-19/+30
| | | | | | Create Store instances when needed This will make more sense with following commits
* rename open_database to open_storeTomasz Kramkowski2023-03-271-3/+3
|
* tests/middleware/open_database: simplify testTomasz Kramkowski2023-03-271-36/+13
|
* Throw all data manipulation code in one placeTomasz Kramkowski2023-03-273-34/+32
| | | | | This means that everything now goes through a Store object, which should make testing a little bit easier.
* POST request supportTomasz Kramkowski2023-03-271-0/+17
|
* functional testsTomasz Kramkowski2023-03-271-0/+240
|
* tests/db: pass URI to connectTomasz Kramkowski2023-03-271-2/+2
|
* paste.db: readd missing import of sha256Tomasz Kramkowski2023-03-271-0/+6
|
* if_none_match: quote ETag valuesTomasz Kramkowski2023-03-271-0/+3
|
* Respond to auth failures with WWW-AuthenticateTomasz Kramkowski2023-03-271-0/+3
|
* tests/middleware/if_none_match: remove duplicate testTomasz Kramkowski2023-03-271-7/+0
|
* add middleware testsTomasz Kramkowski2023-03-248-0/+483
|
* add tests for paste.dbTomasz Kramkowski2023-03-242-0/+53