mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Fix pytest test collection warning (#106405)
This commit is contained in:
parent
e9f28c2060
commit
c6d1f1ccc8
@ -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"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user