txmongo.protocol.Insert

Here are the examples of the python api txmongo.protocol.Insert taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: txmongo Source File: test_protocol.py
    def test_EncodeDecodeInsert(self):
        request = Insert(collection="coll", docuements=[BSON.encode({'x': 42})])
        self.__test_encode_decode(request)