Skip to content

Commit

Permalink
ruffing
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-bartscher committed Feb 27, 2024
1 parent 69f73ae commit e6b4d5e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,19 @@ class ChildState2(TestState):

value: str


mark_used(ChildState2.value)


class ChildState3(TestState):
"""A child state fixture."""

value: str


mark_used(ChildState3.value)


class GrandchildState(ChildState):
"""A grandchild state fixture."""

Expand All @@ -181,8 +185,10 @@ def do_nothing(self):
"""Do something."""
pass


mark_used(GrandchildState.value2)


class GrandchildState2(ChildState2):
"""A grandchild state fixture."""

Expand All @@ -195,8 +201,10 @@ def cached(self) -> str:
"""
return self.value


mark_used(GrandchildState2.value)


class GrandchildState3(ChildState3):
"""A great grandchild state fixture."""

Expand All @@ -209,6 +217,7 @@ def computed(self) -> str:
"""
return self.value


mark_used(GrandchildState3.value)


Expand Down

0 comments on commit e6b4d5e

Please sign in to comment.