ga4gh / ga4gh-server

Reference implementation of the APIs defined in ga4gh-schemas. RETIRED 2018-01-24
http://ga4gh.org
Apache License 2.0
96 stars 91 forks source link

Add CORS and HTTP status code test for ListReferenceBases #716

Open jeromekelleher opened 9 years ago

jeromekelleher commented 9 years ago

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 be test_http.py or something; the hackathon isn't the time for this sort of refactor though).

dcolligan commented 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