<s> import cuisine , os <EOL> TEXT = "<STR_LIT>" <EOL> PATH = "<STR_LIT>" <EOL> if os . path . exists ( PATH ) : os . unlink ( PATH ) <EOL> cuisine . connect ( "<STR_LIT:localhost>" ) <EOL> cuisine . file_write ( PATH , TEXT ) <EOL> assert os . path . exists ( PATH ) , "<STR_LIT>" % ( PATH ) <EOL> text = file ( PATH ) . read ( ) <EOL> assert TEXT == text , "<STR_LIT>" % ( repr ( TEXT ) , repr ( text ) ) <EOL> print "<STR_LIT:OK>" </s>
