'Test that local users can have non-service domains assigned.'

def test_local_user_local_domain(self):

    mapping = mapping_fixtures.MAPPING_LOCAL_USER_LOCAL_DOMAIN
    rp = mapping_utils.RuleProcessor(FAKE_MAPPING_ID, mapping['rules'])
    assertion = mapping_fixtures.CONTRACTOR_ASSERTION
    mapped_properties = rp.process(assertion)
    self.assertIsNotNone(mapped_properties)
    self.assertValidMappedUserObject(mapped_properties, user_type='local', domain_id=mapping_fixtures.LOCAL_DOMAIN)
