~lifeless/storm/bug-620615

« back to all changes in this revision

Viewing changes to tests/expr.py

Merging fixes from James.

Show diffs side-by-side

added added

removed removed

Lines of Context:
919
919
        expr = Func1().is_in([])
920
920
        state = State()
921
921
        statement = compile(expr, state)
922
 
        self.assertEquals(statement, "NULL")
923
 
        self.assertEquals(state.parameters, [])
 
922
        self.assertEquals(statement, "?")
 
923
        self.assertEquals(state.parameters, [BoolVariable(False)])
924
924
 
925
925
    def test_is_in_expr(self):
926
926
        expr = Func1().is_in(Select(column1))