Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[L] We need a functioning Greenwave and WaiverDB in the development environment #3011
It is currently very difficult to develop against Greenwave and WaiverDB. There isn't test data in staging, and so we can't test them there, and we obviously don't want to write waivers to the production WaiverDB during development. We need to have the Vagrant environment provision both of these, and provide an easy way for Bodhi developers to simulate failing tests and set policies.
On Fri, 2019-03-01 at 02:24 -0800, Clement Verna wrote: Could we mock these systems in the development environment ? I am thinking of simple python scripts that would send the expected requests to bodhi ?
We do mock them for unit tests, but I estimate that it might actually be more work to write and maintain a mock than it would be to have running services.