<s> """<STR_LIT>""" <EOL> from samba . dcerpc import ClientConnection <EOL> import samba . tests <EOL> class BareTestCase ( samba . tests . TestCase ) : <EOL> def test_bare ( self ) : <EOL> x = ClientConnection ( "<STR_LIT>" , <EOL> ( "<STR_LIT>" , <NUM_LIT:1> ) , <EOL> lp_ctx = samba . tests . env_loadparm ( ) ) <EOL> self . assertEquals ( "<STR_LIT>" , x . request ( <NUM_LIT:0> , chr ( <NUM_LIT:0> ) * <NUM_LIT:4> ) ) <EOL> def test_alter_context ( self ) : <EOL> x = ClientConnection ( "<STR_LIT>" , <EOL> ( "<STR_LIT>" , <NUM_LIT:1> ) , <EOL> lp_ctx = samba . tests . env_loadparm ( ) ) <EOL> y = ClientConnection ( "<STR_LIT>" , <EOL> ( "<STR_LIT>" , <NUM_LIT:1> ) , <EOL> basis_connection = x , lp_ctx = samba . tests . env_loadparm ( ) ) <EOL> x . alter_context ( ( "<STR_LIT>" , <NUM_LIT:1> ) ) <EOL> def test_two_connections ( self ) : <EOL> x = ClientConnection ( "<STR_LIT>" , <EOL> ( "<STR_LIT>" , <NUM_LIT:1> ) , <EOL> lp_ctx = samba . tests . env_loadparm ( ) ) <EOL> y = ClientConnection ( "<STR_LIT>" , <EOL> ( "<STR_LIT>" , <NUM_LIT:1> ) , <EOL> basis_connection = x , lp_ctx = samba . tests . env_loadparm ( ) ) <EOL> self . assertEquals ( "<STR_LIT>" , y . request ( <NUM_LIT:0> , chr ( <NUM_LIT:0> ) * <NUM_LIT:4> ) ) </s>
