now all databases are running at once.

This commit is contained in:
percious17 2008-12-02 15:41:25 +00:00
parent f7e88199b4
commit b267d64f9e
3 changed files with 9 additions and 5 deletions

View File

@ -21,6 +21,7 @@ class PGSchemaChanger(ansisql.ANSISchemaChanger, PGSchemaGeneratorMixin):
class PGConstraintGenerator(ansisql.ANSIConstraintGenerator, PGSchemaGeneratorMixin):
pass
class PGConstraintDropper(ansisql.ANSIConstraintDropper, PGSchemaGeneratorMixin):
pass

View File

@ -75,9 +75,9 @@ class TestConstraint(fixture.DB):
# Oracle constraints need a name
fk.name = 'fgsfds'
print 'drop...'
self.engine.echo=True
#self.engine.echo=True
fk.create()
self.engine.echo=False
#self.engine.echo=False
print 'dropped'
self.refresh_table()
self.assert_(self.table.c.fkey.foreign_keys._list is not [])

View File

@ -61,13 +61,16 @@ def usedb(supported=None,not_supported=None):
my_urls = [url for url in urls if is_supported(url,supported,not_supported)]
def dec(func):
for url in my_urls:
def entangle(self):
def entangle(self):
for url in my_urls:
print '*'*80
print func.__name__
print url
self._setup(url)
yield func, self
self._teardown()
entangle.__name__ = func.__name__
entangle.__name__ = func.__name__
return entangle
return dec