first test implementation for kristina's framework

This commit is contained in:
Mike Dirolf 2009-01-27 14:15:57 -05:00
parent adb7a06354
commit 738e4dd786
2 changed files with 16 additions and 0 deletions

10
tools/dispatcher Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
pushd .. > /dev/null
python "tools/driver-tests/${1}.py"
exitval=$?
echo "exit_code:$exitval" >> $2
popd > /dev/null

View File

@ -0,0 +1,6 @@
from pymongo.connection import Connection
db = Connection().test1
db.drop_collection("part1")
for i in range(100):
db.part1.save({"x": i})