Skip to content

Commit cf67b87

Browse files
fix pyright
1 parent 1e76998 commit cf67b87

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/integration/test_hybrid_properties.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ async def test_hybrid_properties(
163163

164164
state = (await hybrid_properties.get_state(token)).substates[state_name]
165165
assert state is not None
166-
assert state.full_name == "John Doe"
167-
assert state.has_last_name == "yes"
166+
assert state.full_name == "John Doe" # pyright: ignore[reportAttributeAccessIssue]
167+
assert state.has_last_name == "yes" # pyright: ignore[reportAttributeAccessIssue]
168168

169169
full_name = driver.find_element(By.ID, "full_name")
170170
assert full_name.text == "full_name: John Doe"
@@ -191,5 +191,5 @@ async def test_hybrid_properties(
191191

192192
state = (await hybrid_properties.get_state(token)).substates[state_name]
193193
assert state is not None
194-
assert state.full_name == "John "
195-
assert state.has_last_name == "no"
194+
assert state.full_name == "John " # pyright: ignore[reportAttributeAccessIssue]
195+
assert state.has_last_name == "no" # pyright: ignore[reportAttributeAccessIssue]

0 commit comments

Comments
 (0)