Project

General

Profile

Development #72046

Tests: erreur dans la fixture wcs

Added by Benjamin Dauvergne 2 months ago. Updated 2 months ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
05 December 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

Le paramètre --insecure de runserver n'existe plus.

---------------------------- Captured stderr setup -----------------------------
usage: manage.py runserver [-h] [--ipv6] [--nothreading] [--noreload]
                           [--version] [-v {0,1,2,3}] [--settings SETTINGS]
                           [--pythonpath PYTHONPATH] [--traceback]
                           [--no-color] [--force-color]
                           [addrport]
manage.py runserver: error: unrecognized arguments: --insecure
________________________ ERROR at setup of test_wcs_api ________________________

Après cette correction:

  File "/var/lib/jenkins/workspace/Tests-erreur-dans-la-fixture-wcs/wcs/wcs/forms/root.py", line 28, in <module>
    import ratelimit.utils
ModuleNotFoundError: No module named 'ratelimit'


Files

Associated revisions

Revision 080fdf18 (diff)
Added by Benjamin Dauvergne 2 months ago

tests: fix wcs_factory fixture (#72046)

  • remove --insecure argument to wcs-manage's runserver command
  • limit django-ratelimit to versions <3

History

#1

Updated by Benjamin Dauvergne 2 months ago

#2

Updated by Benjamin Dauvergne 2 months ago

  • Description updated (diff)
#3

Updated by Emmanuel Cazenave 2 months ago

  • Status changed from Solution proposée to Solution validée
#4

Updated by Benjamin Dauvergne 2 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 080fdf18cc364d93281ce2d9851d4a38ef5b6714
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Mon Dec 5 16:38:10 2022 +0100

    tests: fix wcs_factory fixture (#72046)

    * remove --insecure argument to wcs-manage's runserver command
    * limit django-ratelimit to versions <3
#5

Updated by Transition automatique 2 months ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF