summaryrefslogtreecommitdiff
path: root/tests/ecore/test_04_idler.py
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-05-04 04:03:07 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2015-05-04 04:03:07 +0300
commit4d73872f8ff021138cdce88655559ba624d767a9 (patch)
tree81fff70fe11d000b1377b26b0afcd6e575514fbe /tests/ecore/test_04_idler.py
parente37026ec17f20fecf91145e43f9133a3131a59a1 (diff)
Removed init/shutdown calls from tests and examples
Diffstat (limited to 'tests/ecore/test_04_idler.py')
-rw-r--r--tests/ecore/test_04_idler.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/ecore/test_04_idler.py b/tests/ecore/test_04_idler.py
index 895516e..711cd52 100644
--- a/tests/ecore/test_04_idler.py
+++ b/tests/ecore/test_04_idler.py
@@ -20,7 +20,7 @@ class TestIdler(unittest.TestCase):
20 20
21 self.assertIsInstance(i1, ecore.Idler) 21 self.assertIsInstance(i1, ecore.Idler)
22 self.assertIsInstance(i2, ecore.Idler) 22 self.assertIsInstance(i2, ecore.Idler)
23 23
24 before1 = i1.__repr__() 24 before1 = i1.__repr__()
25 before2 = i2.__repr__() 25 before2 = i2.__repr__()
26 26
@@ -36,8 +36,8 @@ class TestIdler(unittest.TestCase):
36 self.assertEqual(t.is_deleted(), True) 36 self.assertEqual(t.is_deleted(), True)
37 self.assertEqual(i1.is_deleted(), False) 37 self.assertEqual(i1.is_deleted(), False)
38 self.assertEqual(i2.is_deleted(), True) 38 self.assertEqual(i2.is_deleted(), True)
39 39
40 40
41 i1.delete() 41 i1.delete()
42 del t 42 del t
43 del i1 43 del i1
@@ -46,4 +46,3 @@ class TestIdler(unittest.TestCase):
46 46
47if __name__ == '__main__': 47if __name__ == '__main__':
48 unittest.main(verbosity=2) 48 unittest.main(verbosity=2)
49 ecore.shutdown()