Finding test location
Vladimir Prus
ghost at cs.msu.su
Tue Mar 26 17:20:58 UTC 2002
I've two related needs. First, I wanted to convert a number of tests which
are just python scripts that use some modules. I expected that QMTest dir
that lives at the top of tdb will be in sys.path for code that is specified
for python.ExecTest, but it is not. (BTW, is it reasonable to have it
there?). I cannot add it there because I can't find the absolute name of
QMTest directory.
In general, it would like an ability to store some data, specifically some
directory trees, inside the tdb. I see no way to use them in tests, because
tests don't know their own location.
How can this question be addressed? Is it assumed that the location of the
test database be always passed as context variable?
- Volodya
More information about the qmtest
mailing list