[gegl/debugging-jenkins-tests] tests: debugging changes to the test that fails on Jenkins
- From: Alexia Death <alexiade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/debugging-jenkins-tests] tests: debugging changes to the test that fails on Jenkins
- Date: Mon, 8 Dec 2014 13:48:03 +0000 (UTC)
commit 27daad68964ce82541d096d134f26eddfc90b5cc
Author: Alexia Death <alexiadeath gmail com>
Date: Mon Dec 8 15:47:17 2014 +0200
tests: debugging changes to the test that fails on Jenkins
tests/python/test-gegl-format.py | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/tests/python/test-gegl-format.py b/tests/python/test-gegl-format.py
index b812a69..c6179a9 100755
--- a/tests/python/test-gegl-format.py
+++ b/tests/python/test-gegl-format.py
@@ -18,6 +18,8 @@
"""
import unittest
+import sys
+import pprint
from gi.repository import Gegl
@@ -40,6 +42,21 @@ class TestGeglFormat(unittest.TestCase):
buf_float = Gegl.Buffer(format=rgb_float)
buf_u8 = Gegl.Buffer(format=rgba_u8)
+ self.assertNotEqual(rgb_float, None)
+ self.assertNotEqual(rgba_u8, None)
+
+ self.assertNotEqual(buf_float, None)
+ self.assertNotEqual(buf_u8, None)
+
+ print ("Debugging environment...")
+ pp = pprint.PrettyPrinter(indent=4)
+ pp.pprint (sys.version)
+ print ("Gegl object")
+ pp.pprint (Gegl.__dict__)
+ pp.pprint (dir(Gegl))
+ print ("Buffer object")
+ pp.pprint (dir(buf_float))
+
self.assertEqual("RGB float", Gegl.format_get_name(buf_float.get_property("format")))
self.assertEqual("RGBA u8", Gegl.format_get_name(buf_u8.get_property("format")))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]