Did I find the right examples for you? yes no

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

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

src/o/p/oplogutils-HEAD/test/test_core.py   oplogutils(Download)
from __future__ import with_statement
import unittest
from oplogutils import _core
from optparse import OptionParser
from util import output_to_string, args, Test
    def test_host_required(self):
        with output_to_string():
            with args():
                self.assertRaises(SystemExit, MockCommand)
 
 
    def test_common_options_works_with_all_required_args(self):
        with output_to_string():