Skip to content

Commit

Permalink
fix: set right endpoint (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon authored Aug 1, 2024
1 parent bcb9668 commit de37734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eox_nelp/api_clients/pearson_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def real_time_import(self, user, exam_id, **kwargs):
Returns:
dict: The response from Pearson Engine API.
"""
path = "rti/api/v1/exam-authorization/"
path = "rti/api/v1/real-time-import/"
data = {
"user_data": self._get_user_data(user),
"exam_data": self._get_exam_data(exam_id),
Expand Down
2 changes: 1 addition & 1 deletion eox_nelp/api_clients/tests/test_pearson_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def test_real_time_import(self, auth_mock, post_mock):

self.assertDictEqual(response, expected_value)
# pylint: disable=protected-access
post_mock.assert_called_with("rti/api/v1/exam-authorization/", {
post_mock.assert_called_with("rti/api/v1/real-time-import/", {
"user_data": api_client._get_user_data(user),
"exam_data": api_client._get_exam_data(exam_id),
"platform_data": api_client._get_platform_data(),
Expand Down

0 comments on commit de37734

Please sign in to comment.