Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Oct 4, 2019
1 parent f9b6721 commit 4a0d1dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions admin_tools_stats/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ def test_admin_dashboard_page_post(self):
response = self.client.post('/admin/', {'select_box_user_graph': 'true'})
self.assertContains(
response,
'<input type="hidden" name="select_box_user_graph" value="true">',
'<input type="hidden" class="hidden_graph_key" name="graph_key" value="user_graph">',
html=True,
)
self.assertContains(
response,
'<option value="true" selected="selected">Active</option>',
'<option value="true">Active</option>',
html=True,
)

Expand Down
3 changes: 2 additions & 1 deletion demoproject/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
django-nvd3
django-bower
django-bower
django-admin-tools

0 comments on commit 4a0d1dd

Please sign in to comment.