We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47234a6 commit 0b7379dCopy full SHA for 0b7379d
simple_history/tests/tests/test_admin.py
@@ -193,8 +193,8 @@ def test_middleware_anonymous_user(self):
193
+ ['simple_history.middleware.HistoryRequestMiddleware'],
194
}
195
with override_settings(**overridden_settings):
196
+ self.app.get(reverse('admin:index'))
197
poll = Poll.objects.create(question="why?", pub_date=today)
- response = self.app.get(get_history_url(poll, 0))
198
historical_poll = poll.history.all()[0]
199
self.assertEqual(historical_poll.history_user, None,
200
"Middleware request user should be able to "
0 commit comments