<s> """<STR_LIT>""" <EOL> from mock import patch , Mock as mock <EOL> from facepy import GraphAPI <EOL> import facebook <EOL> from facebook import Entity , User , Page <EOL> from . asserts import * <EOL> @ patch . object ( GraphAPI , '<STR_LIT>' ) <EOL> def test_get ( mock ) : <EOL> mock . return_value = { <EOL> '<STR_LIT:id>' : '<STR_LIT>' , <EOL> '<STR_LIT:name>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : True , <EOL> '<STR_LIT>' : True , <EOL> '<STR_LIT:description>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : <NUM_LIT> <EOL> } <EOL> page = Page ( '<STR_LIT>' ) <EOL> assert_equal ( <NUM_LIT> , page . facebook_id ) <EOL> assert_equal ( '<STR_LIT>' , page . name ) <EOL> assert_equal ( '<STR_LIT>' , page . picture ) <EOL> assert_equal ( <NUM_LIT> , page . likes ) <EOL> assert_equal ( '<STR_LIT>' , page . category ) <EOL> assert_equal ( True , page . is_published ) <EOL> assert_equal ( True , page . is_community_page ) <EOL> assert_equal ( '<STR_LIT>' , page . description ) <EOL> assert_equal ( <NUM_LIT> , page . talking_about_count ) <EOL> mock . assert_called_with ( '<STR_LIT>' ) </s>
