now all databases are running at once.
This commit is contained in:
parent
f7e88199b4
commit
b267d64f9e
@ -21,6 +21,7 @@ class PGSchemaChanger(ansisql.ANSISchemaChanger, PGSchemaGeneratorMixin):
|
|||||||
|
|
||||||
class PGConstraintGenerator(ansisql.ANSIConstraintGenerator, PGSchemaGeneratorMixin):
|
class PGConstraintGenerator(ansisql.ANSIConstraintGenerator, PGSchemaGeneratorMixin):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class PGConstraintDropper(ansisql.ANSIConstraintDropper, PGSchemaGeneratorMixin):
|
class PGConstraintDropper(ansisql.ANSIConstraintDropper, PGSchemaGeneratorMixin):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -75,9 +75,9 @@ class TestConstraint(fixture.DB):
|
|||||||
# Oracle constraints need a name
|
# Oracle constraints need a name
|
||||||
fk.name = 'fgsfds'
|
fk.name = 'fgsfds'
|
||||||
print 'drop...'
|
print 'drop...'
|
||||||
self.engine.echo=True
|
#self.engine.echo=True
|
||||||
fk.create()
|
fk.create()
|
||||||
self.engine.echo=False
|
#self.engine.echo=False
|
||||||
print 'dropped'
|
print 'dropped'
|
||||||
self.refresh_table()
|
self.refresh_table()
|
||||||
self.assert_(self.table.c.fkey.foreign_keys._list is not [])
|
self.assert_(self.table.c.fkey.foreign_keys._list is not [])
|
||||||
|
@ -61,8 +61,11 @@ def usedb(supported=None,not_supported=None):
|
|||||||
|
|
||||||
my_urls = [url for url in urls if is_supported(url,supported,not_supported)]
|
my_urls = [url for url in urls if is_supported(url,supported,not_supported)]
|
||||||
def dec(func):
|
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)
|
self._setup(url)
|
||||||
yield func, self
|
yield func, self
|
||||||
self._teardown()
|
self._teardown()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user