mysql doesnt seem to be able to combine the metadata
fixture with multiprocessing here, do cleanup inside
the test for now.
Change-Id: I105ec1096bd162080a38e1a021d2520d1581bb04
assert_no_mappers()
@testing.uses_deprecated()
- @testing.provide_metadata
def test_key_fallback_result(self):
+ m = MetaData()
e = self.engine
- m = self.metadata
t = Table("t", m, Column("x", Integer), Column("y", Integer))
m.create_all(e)
e.execute(t.insert(), {"x": 1, "y": 1})
for row in r:
row[t.c.x]
- go()
+ try:
+ go()
+ finally:
+ m.drop_all(e)
def test_many_discarded_relationships(self):
"""a use case that really isn't supported, nonetheless we can