def test_contains(self):
        ts = yield self.create()
        all_dates = yield  ts.itimes()
        dt = all_dates[10]
        self.assertTrue(dt in ts)
        # now lets pop dt
        v = ts.pop(dt)
        self.assertEqual(len(v), 6)
        self.assertFalse(dt in ts)
        #
        dn = datetime.now()
        self.assertFalse(dn in ts)
dataset/ETHPy150Open lsbardel/python-stdnet/tests/all/apps/columnts/manipulate.py/TestManipulate.test_contains/original