Commit Graph

65 Commits

Author SHA1 Message Date
Mike Dirolf
8e7952ae6d _id goes first 2009-01-26 09:33:07 -05:00
Mike Dirolf
c48456ce36 test that _id can be anything 2009-01-23 17:46:09 -05:00
Mike Dirolf
84acf3b529 _id can be anything. this hasn't been well tested yet. 2009-01-23 17:34:27 -05:00
Mike Dirolf
aba3a377a8 add a test that saving strings means retrieving unicode 2009-01-23 17:00:43 -05:00
Mike Dirolf
c19211a6e2 wrap test case with Binary() 2009-01-23 16:58:28 -05:00
Mike Dirolf
38b7640d7a generate printable strings as well as Binary wrapped strings 2009-01-23 16:56:49 -05:00
Mike Dirolf
f42889acf1 repr for binary 2009-01-23 16:50:42 -05:00
Mike Dirolf
e83f91f1f8 binary wrapper 2009-01-23 16:35:03 -05:00
Mike Dirolf
b660722110 space 2009-01-23 16:34:48 -05:00
Mike Dirolf
94d51a6e39 authenticate() and logout() 2009-01-23 14:43:48 -05:00
Mike Dirolf
4180922a45 error(), previous_error() and reset_error_history() 2009-01-23 13:13:24 -05:00
Mike Dirolf
9a0e4b6bd7 test inserting and retrieving random documents 2009-01-23 10:49:43 -05:00
Mike Dirolf
2945e02434 enable test for insert multiple 2009-01-23 10:42:54 -05:00
Mike Dirolf
0955faca30 better error messages for iterating on connection, database 2009-01-23 10:05:59 -05:00
Mike Dirolf
163680bc16 can't iterate on a collection 2009-01-23 10:00:49 -05:00
Mike Dirolf
601b1618ad tests for insert - including a disabled test for insert multiple (since it's broken in recent mongo builds) 2009-01-22 17:38:16 -05:00
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