def test_symbol_lookup(self):

        def check_lookup(symbol, expected):
            op = BaseWhereOperator.get_operator(symbol)
            self.assertEqual(op, expected)

        check_lookup('EQ', EqualsOperator)
        check_lookup('NE', NotEqualsOperator)
        check_lookup('IN', InOperator)
        check_lookup('GT', GreaterThanOperator)
        check_lookup('GTE', GreaterThanOrEqualOperator)
        check_lookup('LT', LessThanOperator)
        check_lookup('LTE', LessThanOrEqualOperator)
        check_lookup('CONTAINS', ContainsOperator)
tests where symbols are looked up properly
dataset/ETHPy150Open datastax/python-driver/tests/integration/cqlengine/operators/test_where_operators.py/TestWhereOperators.test_symbol_lookup