Commit Graph

3332 Commits

Author SHA1 Message Date
Mike Dirolf
262435a37d no constant for this 2009-01-20 16:17:38 -05:00
Mike Dirolf
ec52fd8b2a profiling support 2009-01-20 16:05:39 -05:00
Mike Dirolf
ed1e0744d1 validate_collection. another test (and corresponding fix) for drop_collection. 2009-01-20 14:54:42 -05:00
Mike Dirolf
a550c3f1ae drop_collection() 2009-01-20 13:57:36 -05:00
Mike Dirolf
3f730e155b collection_names() 2009-01-20 13:39:01 -05:00
Mike Dirolf
61cba60c66 tests that already pass 2009-01-20 13:21:24 -05:00
Mike Dirolf
1c9fdc7aa8 drop_database() 2009-01-20 13:14:04 -05:00
Mike Dirolf
87d0a708f3 database_names() 2009-01-20 11:52:27 -05:00
Mike Dirolf
50c5ac3201 copy a bunch of tests from the level 1 driver to the level 0 part 2009-01-20 11:12:08 -05:00
Mike Dirolf
154c370985 add son_manipulator module and some basic manipulators 2009-01-20 10:42:01 -05:00
Mike Dirolf
68f42c03d0 wrong name 2009-01-20 09:21:38 -05:00
Mike Dirolf
b900dcd6de move kill_cursor stuff to connection level. add CursorManager class to handle killing cursors after they've been closed. default manager kills immediately 1 at a time. also add batch manager which is used by the 'enhanced' driver 2009-01-16 17:39:25 -05:00
Mike Dirolf
f6ab75fdde refactor Mongo to extend the base Database class. move tests to test directory and rework a bunch of them 2009-01-16 15:51:07 -05:00
Mike Dirolf
e7d0add0be add port(), host() and db getters. move tests to test directory 2009-01-16 15:49:45 -05:00
Mike Dirolf
3bc86c9bb4 seperate modules for collection, cursor, database 2009-01-16 15:48:47 -05:00
Mike Dirolf
fcb6c3ca3c remove test_data.py 2009-01-16 15:47:02 -05:00
Mike Dirolf
f0faace470 move dbref tests to test directory 2009-01-16 15:02:55 -05:00
Mike Dirolf
e25e0014e3 move objectid tests to test directory 2009-01-16 15:00:30 -05:00
Mike Dirolf
55886c9d81 move son tests to test directory 2009-01-16 14:56:17 -05:00
Mike Dirolf
9ee3c3b043 move bson tests to test directory 2009-01-16 14:40:02 -05:00
Mike Dirolf
7181b4cfcd some fixes for regex. test against mongo-qa bson_tests. 2009-01-09 14:36:23 -05:00
Mike Dirolf
ab109e5a69 gen_mongo_dict returns SON 2009-01-08 16:29:21 -05:00
Mike Dirolf
1b75ecd048 bson support for dbref 2009-01-08 12:02:59 -05:00
Mike Dirolf
c2ada2f010 bson support for oid 2009-01-08 11:09:41 -05:00
Mike Dirolf
fe4dcd1113 cleanup a bunch of debugging stuff from last night. add some logging messages. the problem i was debugging is a CPython issue for testing regex equality 2009-01-08 09:25:41 -05:00
Mike Dirolf
6efb96a893 wip: still banging against weirdness w/ bson regexps 2009-01-07 19:52:58 -05:00
Mike Dirolf
3e6d3f3cbe support for dates 2009-01-07 17:10:00 -05:00
Mike Dirolf
7083df5254 (null, undefined) <=> None 2009-01-07 14:14:07 -05:00
Mike Dirolf
d2f67f549d support for python strings (as mongo binary type 2009-01-07 13:56:27 -05:00
Mike Dirolf
8ed0c63e86 random generator for mongo documents, test that to_dict o from_dict is identity. fix get_c_string to check for 0 bytes 2009-01-07 13:49:07 -05:00
Mike Dirolf
fa6b5a314d quick random testing module for python and some random tests for bson 2009-01-07 10:29:48 -05:00
Mike Dirolf
3d57e76cd4 add test directory w/ some test data we can use 2009-01-06 15:44:36 -05:00