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 d5c7985 commit d3e3e12Copy full SHA for d3e3e12
simple_history/tests/tests/test_admin.py
@@ -187,10 +187,14 @@ def test_middleware_saves_user(self):
187
"retrieve history_user.")
188
189
def test_other_admin(self):
190
- """Demonstrate error viewing the historical admin page for a
191
- model not registered with the default site 'admin'.
+ """Test non-default admin instances.
+
192
+ Make sure non-default admin instances can resolve urls and
193
+ render pages.
194
"""
195
self.login()
196
state = State.objects.create()
197
history_url = get_history_url(state, site="other_admin")
198
self.app.get(history_url)
199
+ change_url = get_history_url(state, 0, site="other_admin")
200
+ self.app.get(change_url)
0 commit comments