summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-02-26 01:02:09 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2015-02-26 01:02:09 +0200
commitc8f782538f1122bb5b01c376993c62f85ce605e3 (patch)
tree62f009dc29141d44586893b952c095a3a467979e /tests
parentff83ec42662d39734926ac3cea0ad2ea366ba6ef (diff)
Remove tests that were infact wrong.
Diffstat (limited to 'tests')
-rw-r--r--tests/elementary/test_01_basics.py3
-rw-r--r--tests/eo/test_01_basics.py4
2 files changed, 1 insertions, 6 deletions
diff --git a/tests/elementary/test_01_basics.py b/tests/elementary/test_01_basics.py
index 80c9cd8..e75e08b 100644
--- a/tests/elementary/test_01_basics.py
+++ b/tests/elementary/test_01_basics.py
@@ -17,9 +17,6 @@ class TestElmBasics(unittest.TestCase):
17 def tearDown(self): 17 def tearDown(self):
18 self.o.delete() 18 self.o.delete()
19 19
20 def testParentGet1(self):
21 self.assertIsNone(self.o.parent_get())
22
23 def testParentGet2(self): 20 def testParentGet2(self):
24 o = Button(self.o) 21 o = Button(self.o)
25 self.assertEqual(Eo.parent_get(o), self.o) 22 self.assertEqual(Eo.parent_get(o), self.o)
diff --git a/tests/eo/test_01_basics.py b/tests/eo/test_01_basics.py
index a32a83a..a26ffe2 100644
--- a/tests/eo/test_01_basics.py
+++ b/tests/eo/test_01_basics.py
@@ -1,5 +1,6 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2 2
3import efl.eo as eo
3from efl.eo import Eo 4from efl.eo import Eo
4 5
5import unittest 6import unittest
@@ -19,9 +20,6 @@ class TestBasics(unittest.TestCase):
19 def testRepr(self): 20 def testRepr(self):
20 self.assertIsNotNone(repr(self.o)) 21 self.assertIsNotNone(repr(self.o))
21 22
22 def testParentGet(self):
23 self.assertIsNone(self.o.parent_get())
24
25 23
26if __name__ == '__main__': 24if __name__ == '__main__':
27 unittest.main(verbosity=2) 25 unittest.main(verbosity=2)