Skip to content

Commit

Permalink
Fix test mapping with sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Oct 6, 2023
1 parent aee5bb0 commit 4bf54ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_get_with_sequence():
"condensing_efficiency": "condensing_efficiency_DE",
}

type = {i.name: i.type for i in dataclasses.fields(mapper.adapter)}
type = {i.name: i.type for i in dataclasses.fields(mapper.adapter.facade)}

for key, _ in expected.items():
assert expected[key] == mapper.get(key, type.get(key))
Expand Down

0 comments on commit 4bf54ab

Please sign in to comment.