Go to file
Oliver Falk e6596b925a Fix coverage measurement in CI
- Replace subprocess call with direct Django test runner invocation
- This allows coverage tool to properly track test execution
- Use django.setup() and get_runner() to run tests directly
- Coverage should now show proper test coverage instead of 1%
2025-10-16 19:54:53 +02:00
2025-10-16 19:54:53 +02:00
2023-05-15 18:58:22 +00:00
2025-10-16 14:19:24 +02:00
2023-02-14 21:43:16 +01:00
2025-02-10 16:54:28 +01:00
2018-07-11 10:09:28 +02:00
2018-11-06 13:38:09 +01:00
2025-09-11 14:18:41 +02:00
2022-02-11 13:17:22 +01:00
2022-02-11 13:16:52 +01:00
2025-10-16 14:19:24 +02:00

ivatar / libravatar

Pipeline and coverage status

pipeline status coverage report

Reports / code documentation

Testing

Running Tests

For local development, use the provided script to skip Bluesky tests that require external API credentials:

./scripts/run_tests_local.sh

This runs all tests except those marked with @pytest.mark.bluesky.

All Tests

To run all tests including Bluesky tests (requires Bluesky API credentials):

python3 manage.py test -v2

Specific Test Categories

# Run only Bluesky tests
python3 manage.py test ivatar.ivataraccount.test_views_bluesky -v2

# Run only file upload security tests
python3 manage.py test ivatar.test_file_security -v2

# Run only upload tests
python3 manage.py test ivatar.ivataraccount.test_views -v2

Test Markers

Tests are categorized using pytest markers:

  • @pytest.mark.bluesky: Tests requiring Bluesky API credentials
  • @pytest.mark.slow: Long-running tests
  • @pytest.mark.integration: Integration tests
  • @pytest.mark.unit: Unit tests

Authors and contributors

Lead developer/Owner: Oliver Falk (aka ofalk or falko) - https://git.linux-kernel.at/oliver

Operations: Michal Novotny (aka clime)

QA: Tristan Le Guern (aka tleguern)

Frontend developer: Lukas Schönsgibl (aka hybridpicker), Niklas Poslovski (aka nipos)

Organisation/Meeting moderation: Lars Kruse (aka sumpfralle)

Initial developer: François Marier - https://fmarier.org/

Description
No description provided
Readme AGPL-3.0 32 MiB
Languages
PostScript 94.5%
Python 3.8%
CSS 0.7%
HTML 0.7%
JavaScript 0.3%