[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] Unit Test Notes



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.

Cheers,
Nick.


-- 
Nick Coghlan
Red Hat Infrastructure Engineering & Development, Brisbane


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]