1 parent 336a63b commit c87f4b3Copy full SHA for c87f4b3
1 file changed
tests/test_actions.py
@@ -1180,13 +1180,13 @@ def test_implements_protocol(self) -> None:
1180
assert isinstance(t, Describable)
1181
1182
def test_describe(self) -> None:
1183
- act1 = FakeAction()
1184
- act1.describe.return_value = "Do thing!"
+ mock_action1 = FakeAction()
+ mock_action1.describe.return_value = "Do thing!"
1185
1186
- act2 = FakeAction()
1187
- act2.describe.return_value = "produce stuff!"
+ mock_action2 = FakeAction()
+ mock_action2.describe.return_value = "produce stuff!"
1188
1189
- t = Either(act1).or_(act2)
+ t = Either(mock_action1).or_(mock_action2)
1190
assert t.describe() == "Either (do thing or produce stuff)"
1191
1192
def test_multi_action_describe(self) -> None:
0 commit comments