stability-sdk icon indicating copy to clipboard operation
stability-sdk copied to clipboard

POC pytest gRPC test fixture - server mock

Open dmarx opened this issue 2 years ago • 2 comments

  • follow up from comments on PR https://github.com/Stability-AI/stability-sdk/pull/97

dmarx avatar Oct 25 '22 05:10 dmarx

tagging a bunch of people just to bring visibility to how pytest works and illustrate how we can mock client-server transactions. also, i'm pretty sure the grpc mocking could be done better, I barely understood what I was doing. but hey, the test passes!

dmarx avatar Oct 25 '22 06:10 dmarx

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Oct 25 '22 06:10 sonarqubecloud[bot]