Skip to content

Commit 9ec2022

Browse files
committed
Fix bug in proxy updates from typing
1 parent 4a44f4b commit 9ec2022

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_proxy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class Meta:
126126
eek = "boo!"
127127

128128
@pytest.mark.parametrize(
129-
"attr, actual",
129+
"attr, expected",
130130
(
131131
("key_field_names", ("isbn",)),
132132
("verbose_name", "Book Summary"),
@@ -135,9 +135,9 @@ class Meta:
135135
("name_space", "the.other.library"),
136136
),
137137
)
138-
def test_options(self, attr, actual):
138+
def test_options(self, attr, expected):
139139
target = getmeta(BookProxy)
140-
assert actual == getattr(target, attr)
140+
assert getattr(target, attr) == expected
141141

142142

143143
class TestResourceProxy:

0 commit comments

Comments
 (0)