<s> COMMIT = "<STR_LIT>" <EOL> def check_description ( document ) : <EOL> actual = "<STR_LIT>" <EOL> for row in document . findAll ( "<STR_LIT>" ) : <EOL> cells = row . findAll ( "<STR_LIT>" ) <EOL> if len ( cells ) >= <NUM_LIT:2> and cells [ <NUM_LIT:0> ] . has_key ( "<STR_LIT:class>" ) and cells [ <NUM_LIT:0> ] [ "<STR_LIT:class>" ] == "<STR_LIT:path>" and cells [ <NUM_LIT:0> ] . a and cells [ <NUM_LIT:0> ] . a . string and cells [ <NUM_LIT:0> ] . a . string . endswith ( "<STR_LIT>" ) and cells [ <NUM_LIT:1> ] . i and cells [ <NUM_LIT:1> ] . i . string : <EOL> actual = cells [ <NUM_LIT:1> ] . i . string <EOL> break <EOL> testing . expect . check ( u"<STR_LIT>" , actual ) <EOL> with frontend . signin ( ) : <EOL> frontend . page ( "<STR_LIT>" , <EOL> params = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : COMMIT } , <EOL> expect = { "<STR_LIT:description>" : check_description } ) </s>
