'Ensure volume types get can load projects.'

def test_volume_type_get_with_projects(self):

    projects = [fake.PROJECT_ID, fake.PROJECT2_ID, fake.PROJECT3_ID]
    vol_type = db.volume_type_create(self.ctxt, {'name': 'my-vol-type'}, projects=projects)
    db_vol_type = db.volume_type_get(self.ctxt, vol_type.id, expected_fields=['projects'])
    self.assertEqual(set(projects), set(db_vol_type['projects']))
