rcpch / digital-growth-charts-server

RCPCH's open source Digital Growth Chart API
https://growth.rcpch.ac.uk/
GNU Affero General Public License v3.0
16 stars 11 forks source link

Unit testing #179

Closed a-wei-william closed 3 years ago

a-wei-william commented 3 years ago

I fixed the error for chart_data_with_valid_request for ukwho, trisomy21, turner. I couldn't figure out the error in test_openapi_spec

eatyourpeas commented 3 years ago

Thanks the openapi error comes because the schema for chart-coordinates has now changed - it accepts an optional enum of 'six-centiles' or 'nine-centiles'. Although I have changed it and regenerated the openapi.json automatically, it still breaks. Might be a question for @pacharanero ....