'Ensure lookup_casstype returns the correct classes'

def test_lookup_casstype(self):

    self.assertEqual(lookup_casstype('AsciiType'), cassandra.cqltypes.AsciiType)
    self.assertEqual(lookup_casstype('LongType'), cassandra.cqltypes.LongType)
    self.assertEqual(lookup_casstype('BytesType'), cassandra.cqltypes.BytesType)
    self.assertEqual(lookup_casstype('BooleanType'), cassandra.cqltypes.BooleanType)
    self.assertEqual(lookup_casstype('CounterColumnType'), cassandra.cqltypes.CounterColumnType)
    self.assertEqual(lookup_casstype('DateType'), cassandra.cqltypes.DateType)
    self.assertEqual(lookup_casstype('DecimalType'), cassandra.cqltypes.DecimalType)
    self.assertEqual(lookup_casstype('DoubleType'), cassandra.cqltypes.DoubleType)
    self.assertEqual(lookup_casstype('FloatType'), cassandra.cqltypes.FloatType)
    self.assertEqual(lookup_casstype('InetAddressType'), cassandra.cqltypes.InetAddressType)
    self.assertEqual(lookup_casstype('Int32Type'), cassandra.cqltypes.Int32Type)
    self.assertEqual(lookup_casstype('UTF8Type'), cassandra.cqltypes.UTF8Type)
    self.assertEqual(lookup_casstype('DateType'), cassandra.cqltypes.DateType)
    self.assertEqual(lookup_casstype('TimeType'), cassandra.cqltypes.TimeType)
    self.assertEqual(lookup_casstype('ByteType'), cassandra.cqltypes.ByteType)
    self.assertEqual(lookup_casstype('ShortType'), cassandra.cqltypes.ShortType)
    self.assertEqual(lookup_casstype('TimeUUIDType'), cassandra.cqltypes.TimeUUIDType)
    self.assertEqual(lookup_casstype('UUIDType'), cassandra.cqltypes.UUIDType)
    self.assertEqual(lookup_casstype('IntegerType'), cassandra.cqltypes.IntegerType)
    self.assertEqual(lookup_casstype('MapType'), cassandra.cqltypes.MapType)
    self.assertEqual(lookup_casstype('ListType'), cassandra.cqltypes.ListType)
    self.assertEqual(lookup_casstype('SetType'), cassandra.cqltypes.SetType)
    self.assertEqual(lookup_casstype('CompositeType'), cassandra.cqltypes.CompositeType)
    self.assertEqual(lookup_casstype('ColumnToCollectionType'), cassandra.cqltypes.ColumnToCollectionType)
    self.assertEqual(lookup_casstype('ReversedType'), cassandra.cqltypes.ReversedType)
    self.assertEqual(lookup_casstype('DurationType'), cassandra.cqltypes.DurationType)
    self.assertEqual(str(lookup_casstype('unknown')), str(cassandra.cqltypes.mkUnrecognizedType('unknown')))
    self.assertRaises(ValueError, lookup_casstype, 'AsciiType~')
