Moves the API calls to Arxiv to separate service
In Submissions -> prefill_using_identifier (view). The ArxivCaller class handles all requests and responses during the Arxiv paper lookup. This can be used again in different places, and is covered by a few tests (submissions.test_services). Additionally, there are 2 tests for the views in submissions.test_views.
Showing
- submissions/services.py 104 additions, 49 deletionssubmissions/services.py
- submissions/test_models.py 0 additions, 0 deletionssubmissions/test_models.py
- submissions/test_services.py 44 additions, 0 deletionssubmissions/test_services.py
- submissions/test_views.py 0 additions, 0 deletionssubmissions/test_views.py
- submissions/views.py 60 additions, 80 deletionssubmissions/views.py
Loading
Please register or sign in to comment