summaryrefslogtreecommitdiffstats
path: root/tests/enum.py
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2004-07-29 09:18:53 +0000
committerJohan Dahlin <johan@src.gnome.org>2004-07-29 09:18:53 +0000
commit9a2ae29dae29ce26f0160ca7c94fe629b25446fb (patch)
treef3a7b4d903e8ce026908dca669a686cd6cf215ad /tests/enum.py
parent7b54e527fa6c7f3430440e95f348e530837d66ad (diff)
downloadpygobject-9a2ae29dae29ce26f0160ca7c94fe629b25446fb.tar.gz
pygobject-9a2ae29dae29ce26f0160ca7c94fe629b25446fb.tar.xz
pygobject-9a2ae29dae29ce26f0160ca7c94fe629b25446fb.zip
Use gobject.type_name,type_from_name for testing instead of GtkListStore.
* tests/gtype.py (GTypeTest.checkType): Use gobject.type_name,type_from_name for testing instead of GtkListStore.
Diffstat (limited to 'tests/enum.py')
-rw-r--r--tests/enum.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/enum.py b/tests/enum.py
index 5cc18ac..98dbd89 100644
--- a/tests/enum.py
+++ b/tests/enum.py
@@ -143,7 +143,7 @@ class FlagsTest(unittest.TestCase):
assert isinstance(klass.__flags_values__, dict)
assert len(klass.__flags_values__) >= 3
- def testComparision(self):
+ def testEnumComparision(self):
enum = gtk.TREE_VIEW_DROP_BEFORE
assert enum == 0
assert not enum == 10
@@ -158,7 +158,7 @@ class FlagsTest(unittest.TestCase):
assert enum <= 0
assert enum <= 10
- def testComparision(self):
+ def testFlagComparision(self):
flag = gdk.EXPOSURE_MASK
assert flag == 2
assert not flag == 10