[pygobject] Fix TestProperties.testBoxed test



commit dc8eef26906753fcb3ce057b23ca110137897fa5
Author: Jose Rostagno <joserostagno vijona com ar>
Date:   Fri Jun 1 13:43:38 2012 +0200

    Fix TestProperties.testBoxed test
    
    A typo was preventing the test from being run.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676644
    
    Signed-off-by: Martin Pitt <martinpitt gnome org>

 tests/test_properties.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_properties.py b/tests/test_properties.py
index f006691..d5943bf 100644
--- a/tests/test_properties.py
+++ b/tests/test_properties.py
@@ -234,13 +234,13 @@ class TestProperties(unittest.TestCase):
         self.assertEqual(obj.props.gtype, TYPE_UINT)
         self.assertEqual(obj.gtype, TYPE_UINT)
 
-    def textBoxed(self):
+    def testBoxed(self):
         obj = new(PropertyObject)
 
         regex = GLib.Regex.new('[a-z]*', 0, 0)
         obj.props.boxed = regex
         self.assertEqual(obj.props.boxed.get_pattern(), '[a-z]*')
-        self.assertEqual(obj.boxed.get_patttern(), '[a-z]*')
+        self.assertEqual(obj.boxed.get_pattern(), '[a-z]*')
 
         self.assertRaises(TypeError, setattr, obj, 'boxed', 'foo')
         self.assertRaises(TypeError, setattr, obj, 'boxed', object())



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