[libpeas] Do not test the properties for Python extensions



commit 0eb39743b0b241649305b854436d7aee7f199ed2
Author: Garrett Regier <garrettregier gmail com>
Date:   Tue Jun 24 11:04:10 2014 -0700

    Do not test the properties for Python extensions
    
    Because Python extensions are no longer wrapped testing
    the properties is just pointless.

 tests/libpeas/extension-py.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/tests/libpeas/extension-py.c b/tests/libpeas/extension-py.c
index b8ad418..a45ed47 100644
--- a/tests/libpeas/extension-py.c
+++ b/tests/libpeas/extension-py.c
@@ -199,7 +199,13 @@ main (int   argc,
 {
   testing_init (&argc, &argv);
 
-  testing_extension_all (PY_LOADER_STR);
+  /* Only test the basics */
+  testing_extension_basic (PY_LOADER_STR);
+
+  /* We still need to add the callable tests
+   * because of peas_extension_call()
+   */
+  testing_extension_callable (PY_LOADER_STR);
 
 #undef EXTENSION_TEST
 #undef EXTENSION_TEST_FUNC


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