Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/r/Products.BugzScout-1.0a2/Products/BugzScout/tests/test_scout.py   Products.BugzScout(Download)
# -*- coding: utf-8 -*-
from Products.BugzScout.tests import unittest
from Products.BugzScout.tests.base import BUGZSCOUT_INTEGRATION_TESTING, \
    create_mock_reporter
from zope.component import getMultiAdapter, getUtility
    def setUp(self):
        #: Initialize the variable we will use in the following mock function.
        self.error_handler_values = dict()
        #: Register a mock bugz reporter.
        mock_reporter = create_mock_reporter(self.error_handler_values)