ga4gh / ga4gh-schemas

Models and APIs for Genomic data. RETIRED 2018-01-24
http://ga4gh.org
Apache License 2.0
214 stars 110 forks source link

Add python tests #755

Closed david4096 closed 7 years ago

david4096 commented 7 years ago

Now that we are able to easily regenerate the python bindings for the protobuf, we could provide testing of the schemas directly. This allows us to specify validation of fields beyond what protobuf types. For example, we can construct tests showing valid and invalid Variant representations and enforcing variant.start > variant.end.

david4096 commented 7 years ago

We can close this based on https://github.com/ga4gh/schemas/blob/master/tests/test_imports.py