Try to get tests not to error out on travis, by doing more flushing. More flushing!

This commit is contained in:
Dan Funk 2020-05-14 16:20:14 -04:00
parent f2c9fd5fc4
commit 7616274e14
1 changed files with 1 additions and 1 deletions

View File

@ -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):