changeset 8266:43dc610bbd24

doc: known issues with possible dependent tests When reversing the testing order, two blocks of tests fail. Document these. I spent time trying to fix them, but got nowhere. Obviously I am missing something. But this doc gives future me or somebody else a starting point.
author John Rouillard <rouilj@ieee.org>
date Thu, 09 Jan 2025 09:32:10 -0500
parents 35beff316883
children 7f0c7966d204
files test/conftest.py
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/conftest.py	Thu Jan 09 09:30:08 2025 -0500
+++ b/test/conftest.py	Thu Jan 09 09:32:10 2025 -0500
@@ -2,6 +2,20 @@
 # can use if pytest-random-order --random-order mode isn't
 # usable (e.g. python2).
 
+
+# known issues:
+#  python3 -m pytest -k Whoosh test/test_indexer.py fails starting with
+#      first reversed (so last) test in module
+#
+#  python3 -m pytest test/test_cgi.py 
+#    fails: FormTestCase::testCreatePermission
+#           FormTestCase::testClassPermission
+#           FormTestCase::testCheckAndPropertyPermission
+#
+#  this failure results in a failure in test_action again with
+#     bad permission application. Something run prior to these
+#     tests is breaking the permission checks.
+
 #def pytest_collection_modifyitems(items): 
 #    items.reverse()
 

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