'Ensures that all volume types can be retrieved.'

def test_get_all_volume_types(self):

    session = db_api.get_session()
    total_volume_types = session.query(models.VolumeTypes).count()
    vol_types = volume_types.get_all_types(self.ctxt)
    self.assertEqual(total_volume_types, len(vol_types))
