With API tests, I think you'd typically use something like vcrpy to record responses, then have separate test commands for recording vs playing back. I'll buy it being out of scope for this PR, but doing something like that and running tests on CI is probably the direction we want to head with this.
Use recorded API responses for unit tests
With API tests, I think you'd typically use something like vcrpy to record responses, then have separate test commands for recording vs playing back. I'll buy it being out of scope for this PR, but doing something like that and running tests on CI is probably the direction we want to head with this.
_Originally posted by @sangaline in https://github.com/Sindri-Labs/sindri-python/pull/21#discussion_r1517957868_