[gegl] test-gegl.py: only call init/exit once
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] test-gegl.py: only call init/exit once
- Date: Mon, 14 Jan 2013 02:11:52 +0000 (UTC)
commit 33de5841a44d4ef17ec672bb23f0258608977d41
Author: Daniel Sabo <DanielSabo gmail com>
Date: Sun Jan 13 17:47:33 2013 -0800
test-gegl.py: only call init/exit once
tests/python/test-gegl.py | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/tests/python/test-gegl.py b/tests/python/test-gegl.py
index ee10cb7..9ada190 100755
--- a/tests/python/test-gegl.py
+++ b/tests/python/test-gegl.py
@@ -28,20 +28,14 @@ class TestGegl(unittest.TestCase):
def test_init(self):
Gegl.init(0, "");
- def test_exit(self):
- Gegl.exit()
-
- def test_init_exit(self):
- Gegl.init(0, "");
- Gegl.exit();
-
def test_config_defaults(self):
- Gegl.init(0, "")
gegl_config = Gegl.config()
# Some default that are unlikely to change
self.assertEqual(gegl_config.props.quality, 1.0)
self.assertEqual(gegl_config.get_property('tile-width'), 128)
self.assertEqual(gegl_config.get_property('tile-height'), 64)
+
+ def test_exit(self):
Gegl.exit()
if __name__ == '__main__':
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]