Project

General

Profile

Development #75521

corriger les PytestCollectionWarning

Added by Benjamin Dauvergne about 1 year ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normal
Target version:
-
Start date:
16 March 2023
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

tests/test_ctl.py:441
  /home/bdauvergne/wd/eo/wcs/tests/test_ctl.py:441: PytestCollectionWarning: cannot collect test class 'TestAfterJob' because it has a __init__ constructor (from: tests/test_ctl.py)
    class TestAfterJob(AfterJob):

tests/test_ctl.py:447
  /home/bdauvergne/wd/eo/wcs/tests/test_ctl.py:447: PytestCollectionWarning: cannot collect test class 'TestExceptionAfterJob' because it has a __init__ constructor (from: tests/test_ctl.py)
    class TestExceptionAfterJob(AfterJob):

wcs/testdef.py:34
  /home/bdauvergne/wd/eo/wcs/wcs/testdef.py:34: PytestCollectionWarning: cannot collect test class 'TestError' because it has a __init__ constructor (from: tests/test_testdef.py)
    class TestError(Exception):

Associated revisions

Revision 6c3cf185 (diff)
Added by Benjamin Dauvergne about 1 year ago

tests: fix PytestCollectionWarning (#75521)

History

#1

Updated by Robot Gitea about 1 year ago

  • Status changed from Nouveau to Solution proposée

Benjamin Dauvergne (bdauvergne) a ouvert une pull request sur Gitea concernant cette demande :

#2

Updated by Robot Gitea about 1 year ago

  • Status changed from Solution proposée to En cours

Frédéric Péters (fpeters) a relu et demandé des modifications sur une pull request sur Gitea concernant cette demande :

#3

Updated by Benjamin Dauvergne about 1 year ago

  • Status changed from En cours to Solution proposée
#4

Updated by Robot Gitea about 1 year ago

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

Valentin Deniaud (vdeniaud) a approuvé une pull request sur Gitea concernant cette demande :

#5

Updated by Robot Gitea about 1 year ago

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

Benjamin Dauvergne (bdauvergne) a mergé une pull request sur Gitea concernant cette demande :

#6

Updated by Transition automatique about 1 year ago

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

Updated by Transition automatique 12 months ago

Automatic expiration

Also available in: Atom PDF