Commit Graph

431 Commits

Author SHA1 Message Date
Sebastián Ramírez 4c51bb6714 Test extra routes, with parameters directly 2018-12-22 18:30:34 +04:00
Sebastián Ramírez 57ff677027 Add tests for validation errors in response 2018-12-22 18:20:01 +04:00
Sebastián Ramírez 613c3f3e95 Test all HTTP methods 2018-12-22 18:18:19 +04:00
Sebastián Ramírez 252188c686 Update tests for HTML content and remove unneeded tests 2018-12-22 17:23:04 +04:00
Sebastián Ramírez 510fec9bee ♻️ Refactor jsonable_encoder and test it
with nested arbitrary classes
2018-12-22 17:15:04 +04:00
Sebastián Ramírez a73709507c Add docs, tests and fixes for extra data types
including refactor of jsonable_encoder to allow other object and model types
2018-12-22 14:35:48 +04:00
Sebastián Ramírez 3180f35bdd Fix OpenAPI test for body schema 2018-12-22 09:00:58 +04:00
Sebastián Ramírez d498b7feb3 Add tests for response_model 2018-12-22 08:54:52 +04:00
Sebastián Ramírez 3269e6a95c Test custom responses 2018-12-22 08:47:44 +04:00
Sebastián Ramírez f1808de18e Add tests for form and files 2018-12-22 08:39:26 +04:00
Sebastián Ramírez 748dc375db 🐛 Fix Form and File params must always be embeded
and add tests for forms and files
2018-12-22 08:24:48 +04:00
Sebastián Ramírez b38fb937b0 🔇 Remove debugging prints 2018-12-22 08:21:02 +04:00
Sebastián Ramírez c25a71e352 🐛 Re-implement check for body as a workaround
while encode/starlette#287 is merged
2018-12-22 07:40:56 +04:00
Sebastián Ramírez b5a0c228e5 Recover extensive tests for path and params 2018-12-18 23:48:02 +04:00
Sebastián Ramírez 4b94da956c Update query param tests and docs 2018-12-18 23:38:38 +04:00
Sebastián Ramírez b59e8ffcf6 🎨 Format tests for Cookies 2018-12-18 23:15:26 +04:00
Sebastián Ramírez 7f382127cc Add tests for body with Schema 2018-12-18 23:15:03 +04:00
Sebastián Ramírez 3513b039b9 Test cookies 2018-12-18 23:04:53 +04:00
Sebastián Ramírez 22dc7e9132 Test for missing required body 2018-12-18 22:57:09 +04:00
Sebastián Ramírez 7da9625505 💚 Revert to flit install and re-format
As it has shown to be more reliable, and closer to final user environments
2018-12-18 22:36:04 +04:00
Sebastián Ramírez ae50492735 Add tests for header parameters 2018-12-18 22:33:59 +04:00
Sebastián Ramírez 00e2e544c7 ♻️ Re-format tutorials, files names and tests
for tutorial files
2018-12-18 21:59:06 +04:00
Sebastián Ramírez acc15230ea Update query tests, application type checks
and temporarily disable coverage fail, to allow publishing docs from Travis
2018-12-17 15:48:38 +04:00
Sebastián Ramírez d9fbead646 🎨 Remove un-used imports, add auto-flake 2018-12-13 21:48:03 +04:00
Sebastián Ramírez 315eb88900 Add tests for OAuth2 Password scheme 2018-12-10 20:12:28 +04:00
Sebastián Ramírez a2ccb6e317 Add tests for corner case with query params 2018-12-10 18:07:19 +04:00
Sebastián Ramírez da166b7967 🔒 Fix constraining return values to model 2018-12-10 16:46:40 +04:00
Sebastián Ramírez ad268bb80e 🐛 Fix tests imports 2018-12-10 08:01:34 +04:00
Sebastián Ramírez 02dfce95a0 🎨 Import from root module 2018-12-10 07:59:18 +04:00
Maria Camila Gutierrez 246ea37994 Add tests for path endopoints 2018-12-09 20:23:07 +04:00
Sebastián Ramírez 6d4cc97266 Add first tests, for path and query 2018-12-08 11:56:07 +04:00