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

All Samples(6)  |  Call(0)  |  Derive(3)  |  Import(3)
TestCase with some generic helper methods.

src/s/e/server-syncstorage-HEAD/syncstorage/tests/support.py   server-syncstorage(Download)
from metlog.decorators.base import MetlogDecorator
from mozsvc.metrics import load_metlog_client
from mozsvc.tests.support import TestCase
 
 
class StorageTestCase(TestCase):
    """TestCase class with automatic cleanup of database files."""
 
    @restore_env("MOZSVC_TEST_INI_FILE")
    def setUp(self):

src/m/o/mozservices-HEAD/mozsvc/tests/test_user.py   mozservices(Download)
 
from mozsvc.exceptions import BackendError
from mozsvc.tests.support import TestCase
from mozsvc.secrets import DerivedSecrets
from mozsvc.user.permissivenoncecache import PermissiveNonceCache
class UserTestCase(TestCase):
 
    def setUp(self):
        super(UserTestCase, self).setUp()
        self.config.commit()

src/m/o/mozsvc-0.7/mozsvc/tests/test_user.py   mozsvc(Download)
 
from mozsvc.exceptions import BackendError
from mozsvc.tests.support import TestCase
 
try:
class UserTestCase(TestCase):
 
    def setUp(self):
        super(UserTestCase, self).setUp()
        self.config.commit()