Project

General

Profile

Development #75521

corriger les PytestCollectionWarning

Added by Benjamin Dauvergne 4 days ago. Updated about 14 hours ago.

Status:
En cours
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):

History

#1

Updated by Gitea (Bot) Gitea 4 days 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 Gitea (Bot) Gitea about 14 hours 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 :

Also available in: Atom PDF