Skip to content

Commit 02d7105

Browse files
authored
Fix uninitialized fake variable lint error (#193)
A simple change to at least make lint happy. Please verify if this is indeed the intended behaviour when you're back at work @albu-diku .
2 parents b6d2a35 + 4916211 commit 02d7105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/support/wsgisupp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def called_once(fake):
150150
try:
151151
self.assertTrue(called_once(fake_start_response))
152152
except AssertionError:
153-
if len(fake.calls) == 0:
153+
if len(fake_start_response.calls) == 0:
154154
raise AssertionError("WSGI handler did not respond")
155155
else:
156156
raise AssertionError("WSGI handler responded more than once")

0 commit comments

Comments
 (0)