Try to get tests not to error out on travis, by doing more flushing. More flushing!
This commit is contained in:
parent
f2c9fd5fc4
commit
7616274e14
|
@ -19,7 +19,7 @@ class ExampleDataLoader:
|
|||
session.flush() # Clear out any transactions before deleting it all to avoid spurious errors.
|
||||
for table in reversed(db.metadata.sorted_tables):
|
||||
session.execute(table.delete())
|
||||
session.flush()
|
||||
session.flush()
|
||||
|
||||
def load_all(self):
|
||||
|
||||
|
|
Loading…
Reference in New Issue