<s> import io <EOL> import json <EOL> from tests . testing import resource_filename <EOL> from yelp . obj . gift_certificate import GiftCertificate <EOL> def test_init_gift_certificate ( ) : <EOL> with io . open ( resource_filename ( '<STR_LIT>' ) ) as biz : <EOL> response = json . load ( biz ) [ '<STR_LIT>' ] [ <NUM_LIT:0> ] <EOL> gift_certificate = GiftCertificate ( response ) <EOL> assert gift_certificate . id == response [ '<STR_LIT:id>' ] </s>
