A helpful Python package that helps you build excellent things inside Repls! 💻
>>> import replit
This repository is the home for the replit
Python package, which provides:
This library is licensed under the ISC License and is free for you to use, change, or even profit from!
With poetry already setup, you can set up the repl for development with:
poetry install
Running the database unittests tests/test_database.py
depends on the repl https://replit.com/@util/database-test-jwt. You'll have access to this repl if you are a Replit employee. There's a secret
contained in that repl which you'll have to set as an environment variable in order to run the unittests.
Once you've done that, run the tests with:
poetry run python -m unittest