Make yourself at home, write tests and format code with Black:
$ black .
Run tests with:
ptw
$ pytest
$ black . --check
- https://github.com/wg/wrk
- https://morepypy.blogspot.com/2017/03/async-http-benchmarks-on-pypy3.html
./wrk -t12 -c400 -d30s http://localhost:8888/
./wrk -t12 -c400 -d30s http://localhost:8888/noticia/1
alembic revision --autogenerate -m "initial"
alembic upgrade head
- https://gist.github.com/ls0f/0eaefa6809212aeb206a
- https://gist.github.com/cloverstd/10712505
- https://opensource.com/article/18/6/tornado-framework
- https://medium.com/welldone-software/an-overview-of-javascript-testing-in-2018-f68950900bc3
- https://stackoverflow.com/questions/42040248/howto-do-unittest-for-tornado-async-def
- https://blog.liw.fi/posts/unittest-coverage/
- https://emptysqua.re/blog/tornado-unittesting-eventually-correct/
- https://docs.sqlalchemy.org/en/latest/orm/tutorial.html
- https://alembic.zzzcomputing.com/en/latest/tutorial.html