[gegl] tests/python: Call Gegl.exit(), remove commented out code



commit 44c65cde2d6cb9b7c23918317478e9a20382f8df
Author: Jon Nordby <jononor gmail com>
Date:   Wed Aug 1 13:37:47 2012 +0200

    tests/python: Call Gegl.exit(), remove commented out code

 tests/python/test-gegl-node.py |    4 +---
 tests/python/test-gegl.py      |    6 ++----
 2 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/tests/python/test-gegl-node.py b/tests/python/test-gegl-node.py
index be2c675..e576451 100755
--- a/tests/python/test-gegl-node.py
+++ b/tests/python/test-gegl-node.py
@@ -77,7 +77,5 @@ class TestGeglNodeSaveXml(unittest.TestCase):
 
 if __name__ == '__main__':
     Gegl.init(0, "");
-    #print dir(Gegl.Node)
-
     unittest.main()
-
+    Gegl.exit()
diff --git a/tests/python/test-gegl.py b/tests/python/test-gegl.py
index 6d28dfb..e7b3e1f 100755
--- a/tests/python/test-gegl.py
+++ b/tests/python/test-gegl.py
@@ -23,20 +23,18 @@ import gi
 from gi.repository import Gegl
 
 class TestGegl(unittest.TestCase):
-    """Tests the Gegl"""
+    """Tests the Gegl global functions, initialization and configuration handling."""
 
     def test_init(self):
         Gegl.init(0, "");
 
     def test_exit(self):
-        pass
-        #Gegl.exit()
+        Gegl.exit()
 
     def test_init_exit(self):
         Gegl.init(0, "");
         Gegl.exit();
 
 if __name__ == '__main__':
-    #print dir(Gegl)
     unittest.main()
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]