diff options
| author | J08nY | 2017-07-13 23:52:32 +0200 |
|---|---|---|
| committer | J08nY | 2017-07-13 23:52:32 +0200 |
| commit | 08389caf276e1b866cae2f6afc1d47b9c1876af5 (patch) | |
| tree | a2cac39c8881ce0759310a9ea8b5f93baead8c7b | |
| parent | f921aeeb2156f81ac2dd1a3db9dd4380b0dcb6da (diff) | |
| download | mailman-pgp-08389caf276e1b866cae2f6afc1d47b9c1876af5.tar.gz mailman-pgp-08389caf276e1b866cae2f6afc1d47b9c1876af5.tar.zst mailman-pgp-08389caf276e1b866cae2f6afc1d47b9c1876af5.zip | |
| -rw-r--r-- | src/mailman_pgp/testing/layers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mailman_pgp/testing/layers.py b/src/mailman_pgp/testing/layers.py index 5e0d8b3..aabf216 100644 --- a/src/mailman_pgp/testing/layers.py +++ b/src/mailman_pgp/testing/layers.py @@ -30,6 +30,7 @@ def reset_pgp_world(): full_path = os.path.join(keydir, path) if isfile(full_path): os.remove(full_path) + config.db.session.rollback() with transaction(): Base.metadata.drop_all(config.db.engine) Base.metadata.create_all(config.db.engine) |
