Commit Graph

39 Commits

Author SHA1 Message Date
Frédéric Péters f0d10f92a9 misc: require django 1.11 (#33238) 2019-05-31 08:28:42 +02:00
Emmanuel Cazenave aefff59310 declare dnspython dependency in setup.py (#32471) 2019-04-18 20:00:50 +02:00
Nicolas Roche 261de0d17b make effective tests from the tests_schemas directory (#32468) 2019-04-18 18:27:21 +02:00
Christophe Siraut 1b9704742f add default_from_email checks (#24519) 2019-04-17 16:03:30 +02:00
Christophe Siraut 73848f82f3 commands/cook: add prechecks on recipe (#16599) 2019-04-16 18:05:02 +02:00
Benjamin Dauvergne f76a6a84e8 use BRANCH_NAME for naming test databases (#31337) 2019-03-18 11:53:15 +01:00
Frédéric Péters c9d3c55260 tox: limit django-jsonfield version to keep django 1.8 compatibility 2019-03-17 17:18:12 +01:00
Benjamin Dauvergne 1c7a6693e5 use a Jenkinsfile (#29776) 2019-01-16 11:40:24 +01:00
Benjamin Dauvergne ffaeb45057 debian: add journald support to debian_config_common (fixes #23471) 2019-01-15 00:15:18 +01:00
Frédéric Péters 605e2f4bfe tox: limit pytest version to a version compatible with pytest-cov 2019-01-06 17:02:35 +01:00
Christophe Siraut a6df6bdcd6 general: provide a health api (#23823) 2018-09-28 15:52:36 +02:00
Frédéric Péters abfdd3d528 tox: limit Markdown version 2018-09-23 08:59:43 +02:00
Frédéric Péters 0b6b9e313b tox: run tests against django 1.11 (#25658) 2018-09-06 11:24:11 +02:00
Frédéric Péters baac0efd69 tox: force django-tables2<1.1 for authentic with django 1.8 2018-08-13 09:59:23 +02:00
Frédéric Péters cfe13ee5da tox: use python2 as base version 2018-08-13 09:59:23 +02:00
Benjamin Dauvergne ffa42d25cf Revert "misc: update for pytest 3.3, pytest-catchlog is no longer required"
pytest 3.4 restored previous behaviour of having only one root logger
handler.

This reverts commit 9dd347f926.
2018-06-18 11:48:18 +02:00
Frédéric Péters 05c4acd4e8 misc: mark support for django 1.11 2018-04-04 15:14:23 +02:00
Frédéric Péters f4310f4cdc tox: limit pytest version (#21628) 2018-02-04 17:13:09 +01:00
Frédéric Péters 9dd347f926 misc: update for pytest 3.3, pytest-catchlog is no longer required 2017-11-29 23:50:11 +01:00
Frédéric Péters 8837b45973 misc: add multi-page theme skeleton cache (#17311) 2017-08-11 14:18:56 +02:00
Frédéric Péters 447dad2680 general: limit to django 1.8 (#15741) 2017-04-14 14:08:16 +02:00
Benjamin Dauvergne 441507ec0e tox.ini: run passerelle tests with Django 1.8 only 2017-03-23 00:11:26 +01:00
Benjamin Dauvergne c6553eb1b2 tox.ini: run authentic tests with Django 1.8 only 2017-03-23 00:11:26 +01:00
Benjamin Dauvergne ee4c8da606 tests: replace pytest-capturelog by pytest-catchlog
catchlog is a maintained fork of capturelog.
2017-03-22 23:36:23 +01:00
Frédéric Péters 588a802e25 tox: run multipublik tests 2017-01-04 09:51:15 +01:00
Frédéric Péters 8371097f3b add basic multipublik deployment tests 2017-01-04 09:42:56 +01:00
Frédéric Péters d9860e047a tox: always depends on celery (<4) 2016-11-18 11:02:25 +01:00
Frédéric Péters 45c2250c33 misc: don't use celery 4 yet (#14016) 2016-11-18 10:44:55 +01:00
Benjamin Dauvergne ed08accd60 send provisionning messages after request treatment in a thread (fixes #9396)
All objects to provision are collected into the Provisionning singleton object
in thread local dictionnaries. When request processing is finished the
ProvisionningMiddleware launch a thread which will send provisionning messages.
2016-10-05 14:03:27 +02:00
Benjamin Dauvergne 77283efe7d tox.ini: run tests with Django 1.8 2016-09-26 10:38:24 +02:00
Benjamin Dauvergne 6da5410e96 tox.ini: fix django 1.9 dependency 2016-09-26 10:38:24 +02:00
Benjamin Dauvergne e0c2bfae00 tox.ini: set toxworkdir to /tmp or $TMPDIR 2016-04-20 15:13:26 +02:00
Benjamin Dauvergne 47f6d108b0 tox.ini: add a nomigrations option 2016-03-16 16:08:10 +01:00
Benjamin Dauvergne a7f8b9ffbe add RequestContextFilter log filter (fixes #10309)
It adds tenant, ip, request_id, user, user_email, user_uuid,
user_name, user_uuid to log records. It depends upon StoreRequestMiddleware
to get to request and user variables.
2016-03-16 16:08:10 +01:00
Benjamin Dauvergne 63676c78c4 tox.ini: refactoring (fixes #10313)
- factorize differences
- run under Django 1.8
- execute migrations fully for authentic and passerelle
- use our django-tenant-schemas fork
2016-03-16 16:08:10 +01:00
Frédéric Péters e2c07bf102 tests: add missing dependencies 2016-02-26 16:53:29 +01:00
Benjamin Dauvergne 140f87c072 tox.ini: fix coverage path 2016-01-26 10:58:16 +01:00
Benjamin Dauvergne c85d548f44 passerelle: use shared_secret for ApiUser.key (fixes #8580) 2016-01-26 03:11:42 +01:00
Benjamin Dauvergne 073b66873e use tox for running tests 2015-12-17 11:23:20 +01:00