summaryrefslogtreecommitdiff
path: root/tests/test_interface.py
diff options
context:
space:
mode:
authorSimon van der Linden <svdlinden@gnome.org>2010-07-28 14:56:00 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-07-29 13:46:35 +0200
commit0a9f1da052fd33dcef81d0e267fc7972f02c7888 (patch)
tree0aef5e74328ff22b8b904b2020d295fd76323e22 /tests/test_interface.py
parent82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76 (diff)
downloadpygobject-0a9f1da052fd33dcef81d0e267fc7972f02c7888.tar.gz
Clean and improve the test infrastructure
To run select tests, use for instance: % make check TEST_NAMES='test_everything test_gi.TestConstant' It works with check.gdb and check.valgrind too. https://bugzilla.gnome.org/show_bug.cgi?id=625488
Diffstat (limited to 'tests/test_interface.py')
-rw-r--r--tests/test_interface.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_interface.py b/tests/test_interface.py
index d9597917..fbc05860 100644
--- a/tests/test_interface.py
+++ b/tests/test_interface.py
@@ -1,6 +1,10 @@
+# -*- Mode: Python -*-
+
import unittest
-from common import gobject, testhelper
+import gobject
+import testhelper
+
GUnknown = gobject.type_from_name("TestUnknown")
Unknown = GUnknown.pytype