Skip to content

Commit

Permalink
also test csrf token available
Browse files Browse the repository at this point in the history
  • Loading branch information
therealmarv committed Jan 24, 2017
1 parent c915ac5 commit 16876ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ def test_03_2_admin_featured_apps_as_admin_json(self):
assert 'projects' in data, data
err_msg = 'template wrong'
assert data['template'] == '/admin/projects.html', err_msg
assert 'form' in data, data
assert 'csrf' in data['form'], data

@with_context
def test_04_admin_featured_apps_as_anonymous(self):
Expand Down

0 comments on commit 16876ed

Please sign in to comment.