deepset-ai / canals

A component orchestration engine
https://deepset-ai.github.io/canals/
Apache License 2.0
27 stars 3 forks source link

Rename some classes in tests to suppress Pytest warnings #101

Closed silvanocerza closed 1 year ago

silvanocerza commented 1 year ago

Rename some test classes to suppress pytest warnings.

Example warning:

============================================================== warnings summary ===============================================================
test/test_utils.py:22
  /Users/silvanocerza/workspace/canals/test/test_utils.py:22: PytestCollectionWarning: cannot collect test class 'TestEnum' because it has a __new__ constructor (from: test/test_utils.py)
    class TestEnum(Enum):

test/pipelines/unit/test_connections.py:29
  /Users/silvanocerza/workspace/canals/test/pipelines/unit/test_connections.py:29: PytestCollectionWarning: cannot collect test class 'TestEnum' because it has a __new__ constructor (from: test/pipelines/unit/test_connections.py)
    class TestEnum(Enum):