Make SSHProtocolTestCase easier to customize/reuse by another tests.
|Reported by:||jkk||Owned by:||jkk|
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.
Change History (5)
Changed 7 years ago by jkk
comment:1 Changed 7 years ago by exarkun
- Owner changed from z3p to exarkun
- Status changed from new to assigned
comment:2 Changed 7 years ago by exarkun
- Keywords review removed
- Owner changed from exarkun to jkk
- Status changed from assigned to new