• Barry Warsaw's avatar
    BaseFramework => MinimalBaseFramework · f2828e83
    Barry Warsaw authored
    MinimalBaseFramework.setUp(): Wrap the creation and opening of the
    database in a try/except so that we guarantee that tearDown() is
    called if there are any errors in database creation.
    
    tearDown(): Added this to make sure that the test directories are
    removed when the test is done.
    
    FullBaseFramework: New class to mirror the same tests for the Full
    database.  Based on MinimalBaseFramework.  This could use some
    factorization.
    
    DBHomeTest => MinimalDBHomeTest
    
    FullDBHomeTest: New class to mirror the same tests for the Full
    database.  Based on MinimalDBHomeTest.  This could use some
    factorization.
    
    Added __main__ section so this test can be run standalone.
    f2828e83
test_create.py 1.85 KB