Tests are a little tricky. As the protocol might change rapidly, it does not make much sense to mock server replies. Some of the endpoints also don't behave exactly like advertised, so testing them against the described output might be a pain for now. I would suggest to only test the exported functions against the API and the auto-generated ones against the reply defined in the lexicon. We won't learn a lot from the latter, but at least all the code is covered and we can play around with the generator without causing issues.
Tests are a little tricky. As the protocol might change rapidly, it does not make much sense to
mock
server replies. Some of the endpoints also don't behave exactly like advertised, so testing them against the described output might be a pain for now. I would suggest to only test the exported functions against the API and the auto-generated ones against the reply defined in the lexicon. We won't learn a lot from the latter, but at least all the code is covered and we can play around with the generator without causing issues.