'tests where symbols are looked up properly'

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)
