Ticket #3113 enhancement closed fixed
Make SSHProtocolTestCase easier to customize/reuse by another tests.
| Reported by: | jkk | Owned by: | jkk |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | conch | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
I've broken testOurServerOurClient into two other methods.One responible for server/client initiializiation and another for running connection between them. This allows one to customize server or client side classes without code duplication.
My use case is adding test for #3007.I would use testOurServerOurClient, but I need to use custom client class different from ConchTestClient().I can't do that without duplicating the code.With patch I would create a new method in SSHProtcolTestCase or it's subclass and change self.client.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

