1
0
mirror of https://github.com/django/django.git synced 2025-04-07 06:56:40 +00:00
Salvo Polizzi cdda249c48 Refs #34976 -- Provide feedback when startapp and startproject are called
tests: added test for startproject output

tests: added output tests for startapp

fix: try to fix unicode encoding error using sys.stdout.write

fix: changed stdout encoding

chore: used self instead of sys for printing

fix: deleted new line character

refactor: handle target in TemplateCommand

ci: use sys.stdout.reconfigure to make ci works

tests: fixed startapp test
2024-04-03 09:07:47 +02:00
..
2024-01-26 12:45:07 +01:00
2024-01-26 12:45:07 +01:00

To run the test suite, first, create and activate a virtual environment. Then
install some requirements and run the tests::

    $ cd tests
    $ python -m pip install -e ..
    $ python -m pip install -r requirements/py3.txt
    $ ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.