Files
codeql/python/ql/test/library-tests/frameworks/django-orm
Taus 58eaddf627 Python: Update all .expected files
I'm beginning to realise why I didn't do the `toString` overriding way
back when. Thankfully, now that all of our tests are in the same place,
this is actually not a terrible ordeal.
2024-04-22 12:00:09 +00:00
..
2022-02-28 16:38:40 +01:00

The interesting ORM tests files can be found under testapp/orm_*.py. These are set up to be executed by the testapp/tests.py file.

List of interesting tests files (that might go out of date if it is forgotten 😳):

Setup

pip install django pytest pytest-django django-polymorphic

Run server

python manage.py makemigrations && python manage.py migrate && python manage.py runserver

Run tests

pytest