Add your description here
Project description
django-resume
A pluggable framework for managing your resume
Installation
pip install django-resume
Running Tests
pytest
Run mypy
uv run mypy src
Run coverage
coverage run -m pytest
coverage report
Run the javascript tests
npx vitest run
Run end to end tests
Install browsers for playwright:
playwright install
Create a testuser for the e2e tests user, using the password password
:
DJANGO_SUPERUSER_USERNAME=playwright \
DJANGO_SUPERUSER_EMAIL=playwright@example.com \
DJANGO_SUPERUSER_PASSWORD=password \
python manage.py createsuperuser --noinput
Start the development server like this to use the playwright settings (mainly setting DEBUG = True to have the static files served by Django):
python manage.py runserver 0.0.0.0:8000 --settings=tests.playwright_settings
The base_url
is set via tool.pytest.ini_options
in pyproject.toml
. Run the tests with:
pytest e2e_tests
Run playwright tests in head-full mode:
pytest e2e_tests --headed --slowmo 1000
Cleanup the test database after running the tests:
python manage.py remove_all_resumes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_resume-0.1.4.tar.gz
(5.6 MB
view details)
Built Distribution
django_resume-0.1.4-py3-none-any.whl
(879.8 kB
view details)
File details
Details for the file django_resume-0.1.4.tar.gz
.
File metadata
- Download URL: django_resume-0.1.4.tar.gz
- Upload date:
- Size: 5.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.25
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00a54bcaca791f28eb7f094ad77ab65d7de94c3c7020b1da826afd64413e4e03 |
|
MD5 | 048b8ad6d7865e49ac19af9a8e493c7c |
|
BLAKE2b-256 | 4a9dec75ddf5af1fb33ecdec70c65b00b74cad75119aa1f146fb24af92406185 |
File details
Details for the file django_resume-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: django_resume-0.1.4-py3-none-any.whl
- Upload date:
- Size: 879.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.25
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede2892e5d3735f16b4fb12a2b96950ac4156650f22d0c0a90005902f6d09d9c |
|
MD5 | 1d72b67dacc7d658dbc0c596eb80b780 |
|
BLAKE2b-256 | 44f5f7828e8834bc7258abc8ac17ce7de18bf69b04f2ab98c527488597fbb9db |