mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
create first test for gdbm fixture
This commit is contained in:
parent
2dd147c1c2
commit
acc55ce266
@ -25,3 +25,7 @@ def make_gdbm_test_db():
|
|||||||
test_db['second key'] = 'second value'
|
test_db['second key'] = 'second value'
|
||||||
test_db.close()
|
test_db.close()
|
||||||
return db_name
|
return db_name
|
||||||
|
|
||||||
|
def test_assert_gdbm_db_is_created_and_correctly_identified(make_gdbm_test_db):
|
||||||
|
print "runing assert_gdbm_db_is_created_and_correctly_identified with gdbm test file"
|
||||||
|
assert whichdb(make_gdbm_test_db) == "dbm.gdbm" or "gdbm"
|
Loading…
x
Reference in New Issue
Block a user