Skip to content

Commit 4bb9496

Browse files
committed
public: add logged in index view
1 parent df32e88 commit 4bb9496

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

public/tests/test_views.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ def test_index(client, arches, repos, package, groups, staff_groups):
33
assert response.status_code == 200
44

55

6+
def test_index_logged_in(admin_client, arches, repos, package, groups, staff_groups):
7+
response = admin_client.get('/')
8+
assert response.status_code == 200
9+
10+
611
def test_about(client, arches, repos, package, groups, staff_groups):
712
response = client.get('/about/')
813
assert response.status_code == 200

0 commit comments

Comments
 (0)