Hi.

I am rewriting search_engine_utils.get_fieldvalues to provide a
fallback method if the bibxxx tables have not been populated at upload
time. I wonder now what would be the best way to test this method as
the tests would rely on the state of the database.

Can I expect that the database is initialized to the demo site? Or is
there another way for me to test the correctness of this widely-used
function?

Cheers.

-- 
Benoit Thiell
The SAO/NASA Astrophysics Data System
http://adswww.harvard.edu/

Reply via email to