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

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

src/d/j/django-hyperadmin-HEAD/hyperadmin/tests/test_resources.py   django-hyperadmin(Download)
from hyperadmin.endpoints import RootEndpoint
 
from common import GenericURLResolver, SuperUserRequestFactory, URLReverseMixin
 
from mock import MagicMock
class ResourceTestCase(URLReverseMixin, unittest.TestCase):
    def setUp(self):
        self.site = ResourceSite()
        self.site.register_builtin_media_types()
 

src/d/j/django-hyperadmin-0.10.0/hyperadmin/tests/test_resources.py   django-hyperadmin(Download)
from hyperadmin.endpoints import RootEndpoint
 
from common import GenericURLResolver, SuperUserRequestFactory, URLReverseMixin
 
from mock import MagicMock
class ResourceTestCase(URLReverseMixin, unittest.TestCase):
    def setUp(self):
        self.site = ResourceSite()
        self.site.register_builtin_media_types()