equal
deleted
inserted
replaced
94 self.assertTrue(dfsource.latest_retrieval) |
94 self.assertTrue(dfsource.latest_retrieval) |
95 self.assertTrue(dfsource.fresh()) |
95 self.assertTrue(dfsource.fresh()) |
96 |
96 |
97 # test_delete_source |
97 # test_delete_source |
98 req = self.request() |
98 req = self.request() |
99 with self.debugged('DBG_RQL'): |
99 req.execute('DELETE CWSource S WHERE S name "myfeed"') |
100 req.execute('DELETE CWSource S WHERE S name "myfeed"') |
100 self.commit() |
101 self.commit() |
|
102 self.failIf(self.execute('Card X WHERE X title "cubicweb.org"')) |
101 self.failIf(self.execute('Card X WHERE X title "cubicweb.org"')) |
103 self.failIf(self.execute('Any X WHERE X has_text "cubicweb.org"')) |
102 self.failIf(self.execute('Any X WHERE X has_text "cubicweb.org"')) |
104 |
103 |
105 if __name__ == '__main__': |
104 if __name__ == '__main__': |
106 from logilab.common.testlib import unittest_main |
105 from logilab.common.testlib import unittest_main |