this test is now useless here
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 05 Feb 2010 12:05:24 +0100
changeset 4473 f2f5576aa6ef
parent 4472 d3b1d50fc29a
child 4474 55fe19813bb7
this test is now useless here
devtools/test/unittest_testlib.py
--- a/devtools/test/unittest_testlib.py	Fri Feb 05 12:05:10 2010 +0100
+++ b/devtools/test/unittest_testlib.py	Fri Feb 05 12:05:24 2010 +0100
@@ -39,17 +39,6 @@
         self.assertEquals(len(result.failures), 1)
 
 
-class TestLibTC(CubicWebTC):
-    def test_add_entity_with_relation(self):
-        bug = self.add_entity(u'Bug', title=u"toto")
-        self.add_entity(u'Bug', title=u"tata", identical_to=bug)
-
-        rset = self.execute('Any BA WHERE BA is Bug, BA title "toto"')
-        self.assertEquals(len(rset), 1)
-        bug = tuple(rset.entities())[0]
-        self.assertEquals(bug.identical_to[0].title, "tata")
-
-
 
 HTML_PAGE = u"""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>