<s> """<STR_LIT>""" <EOL> import keyproperty_models as models <EOL> import pytest <EOL> def test_models ( testbed ) : <EOL> name = '<STR_LIT>' <EOL> contact = models . Contact ( name = name ) <EOL> contact . put ( ) <EOL> contact = contact . key . get ( ) <EOL> assert contact . name == name <EOL> @ pytest . mark . xfail <EOL> def test_fails ( self ) : <EOL> contact = models . Contact ( name = '<STR_LIT>' ) <EOL> contact . put ( ) <EOL> models . PhoneNumber ( <EOL> contact = self . contact_key , <EOL> phone_type = '<STR_LIT>' , <EOL> number = '<STR_LIT>' ) . put ( ) <EOL> numbers = contact . phone_numbers . fetch ( ) <EOL> assert <NUM_LIT:1> == len ( numbers ) </s>
