On Tue, Feb 23, 2010 at 3:43 PM, Victor Engmark <[email protected]> wrote: > On Tue, Feb 23, 2010 at 3:36 PM, Marko Niinimaki <[email protected]> wrote: >> Hello Victor, >> >>>> This is the traditional way used in the other unit tests in Invenio. >>>> I think the issue is related to unittest.main() not knowing what actually >>>> to >>>> execute... >>> >>> Tried it, and it just printed >>> test_ascii_tags (__main__.TestTagInsert) ... >>> and stopped. So I'm pretty sure the problem is with the DB. >> >> Can you run some regression tests (for instance from >> modules/websearch/lib) correctly, i.e. without getting DB errors? > > After installing python-mechanize and starting Apache, they ran > successfully. webtag_tests still doesn't finish, though.
Sorry all, found the error: I was expecting there to be entries in the bibrec table when running the unit tests (I have always run them after creating the demo site). -- Victor Engmark
