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

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

src/d/j/django-dockit-0.0.13/dockit/tests/schema/fields_tests.py   django-dockit(Download)
from decimal import Decimal
 
from common import SimpleSchema, SimpleDocument
 
class BaseFieldTestCase(unittest.TestCase):
class SchemaFieldTestCase(BaseFieldTestCase):
    field_class = fields.SchemaField
    EXAMPLE_VALUES = [SimpleSchema(charfield='charmander')]
    EXAMPLE_PRIMITIVE_VALUES = [{'charfield':'charmander'}]
    NULL_VALUE = None

src/d/j/django-dockit-HEAD/dockit/tests/schema/fields_tests.py   django-dockit(Download)
from decimal import Decimal
 
from common import SimpleSchema, SimpleDocument
 
class BaseFieldTestCase(unittest.TestCase):
class SchemaFieldTestCase(BaseFieldTestCase):
    field_class = fields.SchemaField
    EXAMPLE_VALUES = [SimpleSchema(charfield='charmander')]
    EXAMPLE_PRIMITIVE_VALUES = [{'charfield':'charmander'}]
    NULL_VALUE = None

src/d/j/django-dockit-HEAD/dockit/tests/admin/views.py   django-dockit(Download)
from dockit.admin.views import DocumentProxyView, DeleteView, IndexView, HistoryView, ListFieldIndexView
 
from common import SimpleDocument, SimpleSchema
 
from urllib import urlencode

src/d/j/django-dockit-HEAD/dockit/tests/admin/documentadmin.py   django-dockit(Download)
from dockit.admin.documentadmin import DocumentAdmin, SchemaAdmin
 
from common import SimpleDocument, SimpleSchema
 
class MockView:

src/d/j/django-dockit-0.0.13/dockit/tests/admin/views.py   django-dockit(Download)
from dockit.admin.views import DocumentProxyView, DeleteView, IndexView, HistoryView, ListFieldIndexView
 
from common import SimpleDocument, SimpleSchema
 
from urllib import urlencode

src/d/j/django-dockit-0.0.13/dockit/tests/admin/documentadmin.py   django-dockit(Download)
from dockit.admin.documentadmin import DocumentAdmin, SchemaAdmin
 
from common import SimpleDocument, SimpleSchema
 
class MockView: