Roundup Tracker - Issues

Issue 2551334

classification
Get test suite to pass using windows python - using stdlib (and requests)
Type: behavior Severity: normal
Components: Test Versions:
process
Status: fixed fixed
:
: rouilj : rouilj
Priority: normal :

Created on 2024-04-19 03:15 by rouilj, last changed 2024-04-29 00:05 by rouilj.

Messages
msg7988 Author: [hidden] (rouilj) Date: 2024-04-19 03:15
The test suite fails in numerous places with anydbm and sqlite backends.
Some failures are caused by string path comparisons (e.g. /tmp vs c:\tmp).
Others are because the test suite or code doesn't close open database files.
So deleting the roundup tree or clearing the database fails because you can't
delete open files on windows. Also test_liveserver.py is missing some guards
that prevent tests that require the requests modules from running if it can't
be imported.

Probably more issues as well, but this what I have so far.
msg8013 Author: [hidden] (rouilj) Date: 2024-04-29 00:05
The test suite runs under windows in a base configuration. The only modules
needed are pytest and requests. anydbm (dumbdbm on windows) and sqlite backends are tested.
Only native and sqlite fts indexers are tested.

Other indexers (xapian, whoosh ...) test may or may not work. No testing for markdown
or jinja2 is done. Basically things work with just stdlib.
History
Date User Action Args
2024-04-29 00:05:33rouiljsetstatus: new -> fixed
priority: normal
resolution: fixed
messages: + msg8013
title: Get test suite to pass using windows python -> Get test suite to pass using windows python - using stdlib (and requests)
2024-04-19 03:15:40rouiljcreate