Skip to content

Commit

Permalink
refactor: revert frontend path
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon committed Jul 5, 2023
1 parent e060b70 commit 544012c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Empty file.
4 changes: 2 additions & 2 deletions eox_nelp/stats/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_get_default_stats(self):
- template name is as expected.
- tenant-stats div exist
"""
url_endpoint = reverse("stats-frontend:tenant")
url_endpoint = reverse("stats:tenant")

response = self.client.get(url_endpoint)

Expand All @@ -50,7 +50,7 @@ def test_filter_specific_stat(self, query_param):
- CSS was included
- JS was included
"""
url_endpoint = f"{reverse('stats-frontend:tenant')}?{query_param}=false"
url_endpoint = f"{reverse('stats:tenant')}?{query_param}=false"

response = self.client.get(url_endpoint)

Expand Down
2 changes: 1 addition & 1 deletion eox_nelp/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
include('eox_nelp.course_experience.frontend.urls', namespace='course-experience-frontend'),
),
path('api/stats/', include('eox_nelp.stats.api.urls', namespace='stats-api')),
path('frontend/stats/', include('eox_nelp.stats.urls', namespace='stats-frontend')),
path('stats/', include('eox_nelp.stats.urls', namespace='stats')),
]

0 comments on commit 544012c

Please sign in to comment.