• Neal Norwitz's avatar
    Create a db_home directory with a unique name so multiple users can · 6057b2e6
    Neal Norwitz yazdı
    run the test simultaneously.  The simplest thing I found that worked
    on both Windows and Unix was to use the PID.  It's unique so should be
    sufficient.  This should prevent many of the spurious failures of
    the automated tests since they run as different users.
    
    Also cleanup the directory consistenly in the tearDown methods.
    
    It would be nice if someone ensured that the directories are always
    created with a consistent name.
    6057b2e6
test_bsddb3.py 3.3 KB