mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Fix pytest test collection warning (#106405)
This commit is contained in:
@@ -261,6 +261,8 @@ def test_deprecated_function_called_from_custom_integration(
|
||||
class TestDeprecatedConstantEnum(StrEnum):
|
||||
"""Test deprecated constant enum."""
|
||||
|
||||
__test__ = False # prevent test collection of class by pytest
|
||||
|
||||
TEST = "value"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user