first test implementation for kristina's framework
This commit is contained in:
parent
adb7a06354
commit
738e4dd786
10
tools/dispatcher
Executable file
10
tools/dispatcher
Executable 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
|
||||
6
tools/driver-tests/test1.py
Normal file
6
tools/driver-tests/test1.py
Normal 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})
|
||||
Loading…
Reference in New Issue
Block a user