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

All Samples(19)  |  Call(11)  |  Derive(2)  |  Import(6)

src/p/y/pyroonga-0.5.2/pyroonga/tests/functional/conftest.py   pyroonga(Download)
                request.addfinalizer(remove_table)
            return cls._tablename
    Tbl = tablebase(cls=TableBaseForTest)
    return Tbl
 

src/p/y/pyroonga-HEAD/pyroonga/tests/functional/conftest.py   pyroonga(Download)
import pytest
 
from pyroonga.odm.table import tablebase, TableBase
 
from pyroonga.tests import utils
                request.addfinalizer(remove_table)
            return cls._tablename
    Tbl = tablebase(cls=TableBaseForTest)
    return Tbl
 

src/p/y/pyroonga-HEAD/pyroonga/tests/unit/odm/test_table.py   pyroonga(Download)
    def test_pseudocolumns(self, attr):
        Table = table.tablebase()
 
        class T(Table):
            pass
    def test___str___with_class(self):
        ExampleTableBase = table.tablebase()
 
        class ExampleTable(ExampleTableBase):
            name = table.Column()
    def test___str___with_class_string(self):
        ExampleTableBase = table.tablebase()
 
        class ExampleTable(ExampleTableBase):
            name = table.Column()

src/p/y/pyroonga-HEAD/pyroonga/tests/functional/odm/test_table.py   pyroonga(Download)
    SuggestType,
    )
from pyroonga.odm.table import (
    Column,
    SuggestTable,
    def test_default_value(self):
        Table = tablebase()
        assert Table.__tableflags__ is TableFlags.TABLE_HASH_KEY
        assert Table.__key_type__ is DataType.ShortText
        assert (Table.__tablename__ == 'Table') is True
        assert Table.__default_tokenizer__ is None
        assert Table.__normalizer__ is None
 
    def test_table(self):
        Table = tablebase()

src/p/y/pyroonga-0.5.2/pyroonga/tests/unit/odm/test_table.py   pyroonga(Download)
    def test___str___with_class(self):
        ExampleTableBase = table.tablebase()
 
        class ExampleTable(ExampleTableBase):
            name = table.Column()
    def test___str___with_class_string(self):
        ExampleTableBase = table.tablebase()
 
        class ExampleTable(ExampleTableBase):
            name = table.Column()

src/p/y/pyroonga-0.5.2/pyroonga/tests/functional/odm/test_table.py   pyroonga(Download)
    SuggestType,
    )
from pyroonga.odm.table import (
    Column,
    SuggestTable,
    def test_default_value(self):
        Table = tablebase()
        assert Table.__tableflags__ is TableFlags.TABLE_HASH_KEY
        assert Table.__key_type__ is DataType.ShortText
        assert (Table.__tablename__ == 'Table') is True
        assert Table.__default_tokenizer__ is None
        assert Table.__normalizer__ is None
 
    def test_table(self):
        Table = tablebase()

src/p/y/pyroonga-0.5.2/pyroonga/tests/functional/conftest.py   pyroonga(Download)
import pytest
 
from pyroonga.odm.table import tablebase, TableBase
 
from pyroonga.tests import utils