-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: mark active menu items in side nav
- Loading branch information
1 parent
b418365
commit 09b71a0
Showing
8 changed files
with
154 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import pytest | ||
from django.urls import reverse | ||
from rest_framework import status | ||
|
||
pytestmark = pytest.mark.django_db | ||
|
||
|
||
def test_system_versions_view(user, client): | ||
client.force_login(user) | ||
url = reverse("ops:versions") | ||
response = client.get(url) | ||
assert response.status_code == status.HTTP_200_OK | ||
|
||
|
||
def test_tickets_view(user, client): | ||
client.force_login(user) | ||
url = reverse("ops:tickets") | ||
response = client.get(url) | ||
assert response.status_code == status.HTTP_200_OK | ||
|
||
|
||
def test_activity_log_view(user, client): | ||
client.force_login(user) | ||
url = reverse("ops:activity_log") | ||
response = client.get(url) | ||
assert response.status_code == status.HTTP_200_OK | ||
|
||
|
||
def test_site_mentorship_view(user, client): | ||
client.force_login(user) | ||
url = reverse("ops:site_mentorship") | ||
response = client.get(url) | ||
assert response.status_code == status.HTTP_200_OK | ||
|
||
|
||
def test_daily_site_updates_view(user, client): | ||
client.force_login(user) | ||
url = reverse("ops:daily_site_updates") | ||
response = client.get(url) | ||
assert response.status_code == status.HTTP_200_OK | ||
|
||
|
||
def test_timesheets_view(user, client): | ||
client.force_login(user) | ||
url = reverse("ops:timesheets") | ||
response = client.get(url) | ||
assert response.status_code == status.HTTP_200_OK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
pepfar_mle/templates/fragments/atoms/monitoring_and_evaluation_data_entry_menu.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters