create first test for gdbm fixture

This commit is contained in:
Kelsey Hawley 2013-12-17 14:26:00 -08:00
parent 2dd147c1c2
commit acc55ce266

View File

@ -25,3 +25,7 @@ def make_gdbm_test_db():
test_db['second key'] = 'second value'
test_db.close()
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"