Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

        def mutates_oplog(f):
    def g(self):
        with FixtureCopy(settings.FIXTURES_TEMP, settings.FIXTURES_COPY) as d:
            with MongoDB(settings.MONGOD_TEMP_PORT, 'mongod.temp', d, log=False):
                self.mongo_port = settings.MONGOD_TEMP_PORT
                return f(self)
    return g
        


src/o/p/oplogutils-HEAD/test/test_trimmer.py   oplogutils(Download)
from __future__ import with_statement
import unittest
from util import (output_to_string, input_from_string, args, Test, 
                  mutates_oplog)
import settings

src/o/p/oplogutils-HEAD/test/test_counter.py   oplogutils(Download)
from __future__ import with_statement
import unittest
from util import output_to_string, args, Test, mutates_oplog
import settings
from oplogutils import Counter