Skip to content

Commit

Permalink
test: test class
Browse files Browse the repository at this point in the history
  • Loading branch information
msto committed Oct 21, 2024
1 parent ca1cee2 commit 2c75966
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ class FakeDataclass:
if eq:
assert rows[0] == FakeDataclass(foo="abc", bar=1)
else:
assert isinstance(rows[0], FakeDataclass)
assert rows[0].foo == "abc"
assert rows[0].bar == 1

0 comments on commit 2c75966

Please sign in to comment.