Commit Graph

49 Commits

Author SHA1 Message Date
Mike Dirolf
e61baa8399 be threadsafe + test 2009-01-22 17:23:12 -05:00
Mike Dirolf
2afc8d2c1b be more careful about generating ints across platforms 2009-01-22 15:48:15 -05:00
Mike Dirolf
88a62b0c3e license 2009-01-22 15:10:00 -05:00
Mike Dirolf
d6c0ec39a3 create package pymongo and move all pymongo related modules there 2009-01-22 10:44:26 -05:00
Mike Dirolf
19ccdb8194 utc 2009-01-21 18:24:41 -05:00
Mike Dirolf
b6b289be2a don't randomly generate regexps for bson tests because identical python regexs sometimes randomly decide to not compare equal. lame. 2009-01-21 18:22:14 -05:00
Mike Dirolf
fff7d30712 use UTC for datetime encoding, decoding. came up from a transient test failure that had to do with DST 2009-01-21 17:46:15 -05:00
Mike Dirolf
801f23854e hacking automatic reductions into random testing tool 2009-01-21 16:33:31 -05:00
Mike Dirolf
7edf75ecdb hint() 2009-01-21 15:28:08 -05:00
Mike Dirolf
ea219cbaeb move limit, skip, count, and sort tests to test_cursor 2009-01-21 14:20:40 -05:00
Mike Dirolf
28e0783d16 explain() 2009-01-21 14:16:17 -05:00
Mike Dirolf
118e446e37 collection options() 2009-01-21 13:33:39 -05:00
Mike Dirolf
758d380080 create_collection 2009-01-21 12:59:13 -05:00
Mike Dirolf
6e7c821f55 fix bson binary (only support subtype '\x02' for now) 2009-01-21 11:15:50 -05:00
Mike Dirolf
7fd49576db index_information 2009-01-21 10:46:17 -05:00
Mike Dirolf
a1bb59abc3 drop_index (singular) 2009-01-21 10:22:15 -05:00
Mike Dirolf
a9070fcb32 move index tests to test_collection 2009-01-21 10:04:58 -05:00
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