diff test/db_test_base.py @ 5319:62de601bdf6f

Fix commits although a Reject exception is raised Fix the problem that changes are committed to the database (due to commits to otk handling) even when a Reject exception occurs. The fix implements separate database connections for otk/session handling and normal database operation.
author Ralf Schlatterbeck <rsc@runtux.com>
date Fri, 20 Apr 2018 18:46:28 +0200
parents 506c7ee9a385
children 19e12a540b91
line wrap: on
line diff
--- a/test/db_test_base.py	Thu Apr 19 20:01:43 2018 +0200
+++ b/test/db_test_base.py	Fri Apr 20 18:46:28 2018 +0200
@@ -3356,7 +3356,6 @@
             #os.remove(self.SENDMAILDEBUG)
             pass
 
-    @pytest.mark.xfail
     def testInnerMain(self):
         cl = self.client
         cl.session_api = MockNull(_sid="1234567890")

Roundup Issue Tracker: http://roundup-tracker.org/