15 Commits

Author SHA1 Message Date
Kelsey Hawley
6a129fed34 corrected the import of python 3 modules. Updated print statements to function form to work correctly with python 2 & 3. Also decoded the subprocess output into unicode string for splicing and processing of keys 2013-12-20 13:51:34 -08:00
Kelsey Hawley
f8549f69cc cleaned up tests and removed unnecessary testing of fixtures. Only test of dump-anydbm remain 2013-12-18 21:17:41 -08:00
Kelsey Hawley
d6cee750bc updating the test fixture for ndbm. whichdb needs the filename w/o '.db' to correctly identify and dbm.open does not the extension to read it 2013-12-18 18:23:15 -08:00
Kelsey Hawley
99d077b89c still having trouble gettting the ndbm module to correctly make an ndbm instead of bsd db. this fixture setup seems to work, tho bogglingly. It creates 2 files, one ndbm & the other bsd db. requires further investigation 2013-12-17 17:29:50 -08:00
Kelsey Hawley
c6cbda1187 updated test for dumbdbm. dump-anydbm cannot run any dubmdbm, the test now reflects that 2013-12-17 16:50:35 -08:00
Kelsey Hawley
4718cd7853 updated keys & vals to global predefined, added db type specification (for the differences between py2 & 3), finished up test for dump-anydbm with gdbm 2013-12-17 16:04:26 -08:00
Kelsey Hawley
efb96ee0c3 added test for dump-anydbm that uses module subprocess to run script 2013-12-17 15:35:23 -08:00
Kelsey Hawley
24a3437fda adapted reading for dumbdbm. also removed the '.dir' from the name being passed through. Not needed for whichdb or .open 2013-12-17 14:48:26 -08:00
Kelsey Hawley
0f48f6bed9 removed the mixed remove statement from dumbdbm in gdbm and used the appropriate filename remove 2013-12-17 14:38:45 -08:00
Kelsey Hawley
1ea6eb5b9a add dubmdbm fixture and recognition test 2013-12-17 14:33:31 -08:00
Kelsey Hawley
41836c86f8 added test to confirm correct number of keys in db, key exists, and key has correct value 2013-12-17 14:30:31 -08:00
Kelsey Hawley
7991640291 take advantage of teardown of fixture to delete temp db file 2013-12-17 14:27:14 -08:00
Kelsey Hawley
acc55ce266 create first test for gdbm fixture 2013-12-17 14:26:00 -08:00
Kelsey Hawley
2dd147c1c2 create first fixture for gdbm 2013-12-17 14:25:24 -08:00
Kelsey Hawley
043771ab25 initial commit, setting up for py 2 & 3 2013-12-17 14:23:34 -08:00