Open jeromekelleher opened 9 years ago
Looks like the list reference bases endpoint is already tested (self.sendReferenceBasesList
) but these four endpoints are not:
1) reference sets search 2) read group sets search 3) call sets search 4) call sets get
CORS support is required for servers to support JavaScript clients. Tests verifying the server's CORS support are in
tests/unit/test_views.py
, which tests other high-level HTTP related things (this test module is now poorly named, and should really betest_http.py
or something; the hackathon isn't the time for this sort of refactor though).tests/unit/test_views.py
, and find thetestCors
function. Run the test usingnosetests -vs tests/unit/test_views.py:TestFrontend.testCors
.testGetVariantSet
to ensure we get the right HTTP responses. The ListRefernenceBases method is defined in the schemas, and is an oddball as it doesn't follow the conventions of other server endpoints.