'#1446'

def test_toonefield_spanning_a_relationship(self):

    class CustomPersonResource(PersonResource, ):
        company_address = fields.ToOneField(AddressResource, 'company__address', null=True, full=True)
    resource = CustomPersonResource()
    resource.fields['company_address']
