Skip to content

Commit d03b106

Browse files
committed
Fix a test failing because of a more specific exception.
1 parent 6aaccdd commit d03b106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_thing_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def action_four(self, thing_two: ThingTwoDepNoActions) -> str:
152152
def action_five(self, thing_two: ThingTwoDep) -> str:
153153
return thing_two.action_two()
154154

155-
with pytest.raises(ValueError):
155+
with pytest.raises(lt.client.in_server.DependencyNameClashError):
156156
lt.deps.direct_thing_client_dependency(ThingFour, "/thing_four/")
157157

158158

0 commit comments

Comments
 (0)