Diff of /pyforge/pyforge/tests/model/test_artifact.py [6b14a5] .. [01d9bf]  Maximize  Restore

Switch to side-by-side view

--- a/pyforge/pyforge/tests/model/test_artifact.py
+++ b/pyforge/pyforge/tests/model/test_artifact.py
@@ -55,6 +55,7 @@
     assert pg.app_config == c.app.config
     u = M.User.query.get(username='test_user')
     pg.give_access('delete', user=u)
+    ThreadLocalORMSession.flush_all()
     assert u.project_role()._id in pg.acl['delete']
     pg.revoke_access('delete', user=u)
     assert u.project_role()._id not in pg.acl['delete']

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks