Changeset 464

Show
Ignore:
Timestamp:
09/24/09 17:14:45 (5 years ago)
Author:
ged
Message:

comments, sqlite uri

Files:
1 modified

Legend:

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

    r458 r464  
    1010class TestManyToMany(object): 
    1111    def setup(self): 
    12         metadata.bind = 'sqlite:///' 
     12        metadata.bind = 'sqlite://' 
    1313 
    1414    def teardown(self): 
     
    100100        assert 'as__id' in m2m_cols 
    101101        assert 'inverse_id' in m2m_cols 
     102 
     103    #TODO: add an upgrade test 
     104    #def test_upgrade(self): 
     105#        elixir.options.M2MCOL_NAMEFORMAT = elixir.options.OLD_M2MCOL_NAMEFORMAT 
     106#        elixir.options.MIGRATION_TO_07_AID = True 
     107#        metadata.bind = 'sqlite://' 
     108#        elixir.options.M2MCOL_NAMEFORMAT = elixir.options.NEW_M2MCOL_NAMEFORMAT    #    assert False 
    102109 
    103110    def test_manual_column_format(self):