[pygobject] Test GPtrArray regression



commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
Author: Xavier Claessens <xclaesse gmail com>
Date:   Tue Aug 2 12:05:12 2011 +0200

    Test GPtrArray regression

 tests/test_everything.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/test_everything.py b/tests/test_everything.py
index b39711e..57dbd4c 100644
--- a/tests/test_everything.py
+++ b/tests/test_everything.py
@@ -157,6 +157,9 @@ class TestEverything(unittest.TestCase):
         # test that there are no duplicates returned
         self.assertEqual(len(attr_list), len(set(attr_list)))
 
+    def test_ptrarray(self):
+        self.assertEquals (Everything.test_garray_container_return(), ['regress'])
+
 class TestNullableArgs(unittest.TestCase):
     def test_in_nullable_hash(self):
         Everything.test_ghash_null_in(None)



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