<s> from . helpers import * <EOL> class TestClientTeams ( ClientTestCase ) : <EOL> def test_teams_find_by_organization ( self ) : <EOL> res = { <EOL> "<STR_LIT:data>" : [ <EOL> { "<STR_LIT:id>" : <NUM_LIT> , "<STR_LIT:name>" : "<STR_LIT>" } , <EOL> { "<STR_LIT:id>" : <NUM_LIT> , "<STR_LIT:name>" : "<STR_LIT>" } <EOL> ] <EOL> } <EOL> responses . add ( GET , '<STR_LIT>' , status = <NUM_LIT:200> , body = json . dumps ( res ) , match_querystring = True ) <EOL> self . assertEqual ( self . client . teams . find_by_organization ( <NUM_LIT> ) , res [ '<STR_LIT:data>' ] ) </s>
