<s> '''<STR_LIT>''' <EOL> import unittest <EOL> import shutil <EOL> from eucaops import Eucaops <EOL> class Euca4869 ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> self . conf = "<STR_LIT>" <EOL> self . tester = Eucaops ( config_file = self . conf , password = "<STR_LIT>" ) <EOL> self . doAuth ( ) <EOL> def tearDown ( self ) : <EOL> self . tester . cleanup_artifacts ( ) <EOL> self . tester . delete_keypair ( self . keypair ) <EOL> self . tester . local ( "<STR_LIT>" + self . keypair . name + "<STR_LIT>" ) <EOL> shutil . rmtree ( self . tester . credpath ) <EOL> def runSysCmd ( self , cmd ) : <EOL> self . source = "<STR_LIT>" + self . tester . credpath + "<STR_LIT>" <EOL> self . out = self . tester . sys ( self . source + cmd ) <EOL> def doAuth ( self ) : <EOL> self . keypair = self . tester . add_keypair ( ) <EOL> self . group = self . tester . add_group ( ) <EOL> self . tester . authorize_group ( self . group ) <EOL> def testName ( self ) : <EOL> self . runSysCmd ( "<STR_LIT>" ) <EOL> self . new = str ( self . out ) . count ( "<STR_LIT>" ) <EOL> if self . new > <NUM_LIT:0> : <EOL> self . tester . debug ( "<STR_LIT>" ) <EOL> pass <EOL> else : <EOL> self . fail ( "<STR_LIT>" ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> unittest . main ( "<STR_LIT>" ) </s>
