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

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

src/p/y/pyroonga-0.5.2/pyroonga/tests/unit/odm/test_query.py   pyroonga(Download)
    def test___sub__(self, expr, random_string):
        et = (expr - random_string)
        self._test_op(expr, et, random_string, query.Operator.SUB)
 
    def test___mul__(self, expr, random_string):
            query.Operator.BIT_OR: ' OR ',
            query.Operator.BIT_AND: ' + ',
            query.Operator.SUB: ' - ',
        }) is True
 
    def test_constant(self):
        assert (query.FilterExpression.operator == {
            query.Operator.ADD: ' + ',
            query.Operator.SUB: ' - ',
            query.Operator.MUL: ' * ',

src/p/y/pyroonga-HEAD/pyroonga/tests/unit/odm/test_query.py   pyroonga(Download)
    def test___sub__(self, expr, random_string):
        et = (expr - random_string)
        self._test_op(expr, et, random_string, query.Operator.SUB)
 
    def test___mul__(self, expr, random_string):
            query.Operator.BIT_OR: ' OR ',
            query.Operator.BIT_AND: ' + ',
            query.Operator.SUB: ' - ',
        }) is True
 
    def test_constant(self):
        assert (query.FilterExpression.operator == {
            query.Operator.ADD: ' + ',
            query.Operator.SUB: ' - ',
            query.Operator.MUL: ' * ',