Skip to content

Commit 47234a6

Browse files
committed
Update test_admin.py
1 parent 5f35249 commit 47234a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

simple_history/tests/tests/test_admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def test_middleware_anonymous_user(self):
194194
}
195195
with override_settings(**overridden_settings):
196196
poll = Poll.objects.create(question="why?", pub_date=today)
197+
response = self.app.get(get_history_url(poll, 0))
197198
historical_poll = poll.history.all()[0]
198199
self.assertEqual(historical_poll.history_user, None,
199200
"Middleware request user should be able to "

0 commit comments

Comments
 (0)