Mercurial > p > roundup > code
view MANIFEST.in @ 8414:cc3edb260c1b reauth-confirm_id
feat: fix tests under postgresql.
Wierd issue. Calling self.db.user.lookup('reauth') fails under
posttgresql with a cursor closed error. This same call works with
anydbm.
I tried adding a setup/teardown to open the tracker
(self.instance.open('admin') ...etc. But that made the wasgi server
fail to shut down for some reason.
So I hard coded the id for the reauth user.
Also for the postgresql test case, the reauth triggering auditor and
user setup weren't done. I tried to reuse the WsgiSetup.setup_class
and then add in the few extra things I needed, but it failed.
So I copypastaed the code and modified it.
Also corrected docstring for one of the test classes.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 14 Aug 2025 10:34:40 -0400 |
| parents | a4cb4e75d4e9 |
| children |
line wrap: on
line source
recursive-include share * recursive-include roundup *.py *.txt recursive-include frontends *.* recursive-include scripts *.* *-* recursive-include scripts/Docker Dockerfile *.* *_* recursive-include tools *.* base64 recursive-include test *.py *.txt include test/pg_service.conf recursive-include doc *.html *.gif *.png *.txt *.css *.example recursive-include detectors *.py README.txt include demo.py *.txt global-exclude *.pyc *.pyo .DS_Store *.orig *.rej *~ \#* .flake8 include doc/conf.py doc/Makefile doc/requirements.pip doc/roundup-favicon.ico include doc/format_config.awk include locale/*.po locale/*.mo locale/roundup.pot locale/Makefile
