

def test_in(self):
    list_ = TestVar([1, 2, 3])
    invalid_list = TestVar(None)
    self.assertCalc(In(self.low, list_))
    self.assertCalcFalse(In(self.low, invalid_list))

dataset/ETHPy150Open aehlke/manabi/apps/utils/templatetags/smartif.py SmartIfTests.test_in/original