Commit Graph

7 Commits

Author SHA1 Message Date
Benjamin Dauvergne a14a7b1e7a tests: do not load fixture if keepdb is used and an user exists 2022-01-20 19:26:59 +01:00
Benjamin Dauvergne 88ea8f6c21 tests: refactor conftest.py 2021-11-20 23:55:33 +01:00
Benjamin Dauvergne b4475d710f misc: add and apply pre-commit hooks (#58764) 2021-11-20 22:13:47 +01:00
Benjamin Dauvergne 70f785ae62 tests: rewrite scoped JSON fixture (#54008)
We override django_db_setup as a package scoped fixture to share the
loading of the big JSON fixture between tests.
2021-05-18 10:50:51 +02:00
Benjamin Dauvergne 4af4c0e00b eo_facture: ré-initialiser emission quand une facture n'est plus proforma (#42442)
Empêche aussi de défaire le statut proforma ou de changer emission quand
une facture n'est plus proforma.
2020-05-04 15:01:25 +02:00
Benjamin Dauvergne ef922d091f target Django >=2,<2.3 (#20562)
We need it for support of autocompletion in admin pages.
* rename django.core.urlresolvers to django.urls
* update migrations
* fix warning about PercentagePerYearField.from_db_value() context arg
* fix warning about deprecated {% load staticfiles %}

This commit also remove support for py2.
* tox.ini: only run with py3
* remove all u'' strings
* remove imports from __future__
2020-02-03 19:01:56 +01:00
Benjamin Dauvergne e49e51a9e5 migrate to python3 (#38507)
* add basic tests and big anonymized fixture
* add missing copyright notices
2019-12-26 12:35:55 +01:00