Changeset 525 for elixir/trunk

Show
Ignore:
Timestamp:
09/02/10 09:45:55 (21 months ago)
Author:
ged
Message:

Do not use None as column types in tests because this is unsupported in SA 0.6
for composite foreign keys

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/tests/test_m2m.py

    r490 r525  
    432432        from sqlalchemy import Table, Column, ForeignKey, ForeignKeyConstraint 
    433433 
     434        # Can't use None as column types because this is unsupported in SA 0.6+ 
     435        # for composite foreign keys 
    434436        a_b = Table('a_b', metadata, 
    435                     Column('a_key1', None), 
    436                     Column('a_key2', None), 
     437                    Column('a_key1', Integer), 
     438                    Column('a_key2', String(40)), 
    437439                    Column('b_id', None, ForeignKey('b.id')), 
    438440                    ForeignKeyConstraint(['a_key1', 'a_key2'],