#2375: Identity/Visit unit tests error because of missing table tg_visit
------------------------+---------------------------------------------------
 Reporter:  chrisz      |        Owner:        
     Type:  defect      |       Status:  closed
 Priority:  normal      |    Milestone:  1.1   
Component:  TurboGears  |      Version:  1.1rc1
 Severity:  normal      |   Resolution:  fixed 
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by chrisz):

 Just tried to check in a similar fix when I got a merge conflict because
 Ken was quicker. Should have looked into my email ;-)

 As Ken already mentioned, the problem was that the test_paginate module
 called `sqlalchemy_cleanup()` at import time, which called
 `metadata.clear()`. This removed the visit table from the metadata, but SA
 < 0.5 only creates tables when there is an entry in metadata (the
 `table_iterator` method there always builds the intersection with
 `metadata.tables`).

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2375#comment:8>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to