[Pulp-list] Unit Test Notes

Nick Coghlan ncoghlan at redhat.com
Thu Jun 14 02:26:25 UTC 2012

On 06/13/2012 11:53 PM, Jay Dobies wrote:
> PulpClientTests - Ignores the database completely. In the setUp call it
> will populate a test client context for use in the test, mocking out the
> server and setting up a Recorder instance for the prompt to capture
> anything the prompt would have output to the screen and make it
> available for assertions.

How public is this API?

Currently, the pulpdist CLI and web UI tests are using a real Pulp
server instance and a very permissive mock object (respectively). They
could likely both be simplified a great deal given a supported mock
server API to test against.


Nick Coghlan
Red Hat Infrastructure Engineering & Development, Brisbane

More information about the Pulp-list mailing list