Skip to content

Commit

Permalink
fix: info view integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
magajh committed Oct 15, 2024
1 parent 2b60e59 commit cc81c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eox_theming/management/tests/integration/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_info_view_success(self) -> None:
- The status code is 200.
- The response contains the version, name and git commit hash.
"""
url = f"{settings['EOX_THEMING_BASE_URL']}{reverse('eox-info')}"
url = f"{settings['EOX_THEMING_BASE_URL']}{reverse('eox-theming-management:eox-info')}"

response = requests.get(url, timeout=settings["API_TIMEOUT"])

Expand Down
2 changes: 1 addition & 1 deletion eox_theming/settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ def plugin_settings(settings): # pylint: disable=function-redefined
# Integration tests settings
INTEGRATION_TEST_SETTINGS = {
# Retrieved from the Tutor environment where the integration tests run
"EOX_THEMING_BASE_URL": f"http://{os.environ.get('LMS_HOST', 'local.edly.io')}/eox-tenant",
"EOX_THEMING_BASE_URL": f"http://{os.environ.get('LMS_HOST', 'local.edly.io')}/eox-theming",
"API_TIMEOUT": 5,
}

0 comments on commit cc81c48

Please sign in to comment.