testsuite/test_element.py (ElementName.testElementStateGetName): s/NONE/VOID/.

Original commit message from CVS:
2005-09-12  Andy Wingo  <wingo@pobox.com>

* testsuite/test_element.py (ElementName.testElementStateGetName):
s/NONE/VOID/.
This commit is contained in:
Andy Wingo 2005-09-12 16:20:24 +00:00
parent ed6f0f377a
commit 58dbe77515
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-09-12 Andy Wingo <wingo@pobox.com>
* testsuite/test_element.py (ElementName.testElementStateGetName):
s/NONE/VOID/.
2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.override:

2
common

@ -1 +1 @@
Subproject commit 00cc4f5af95a15be55b8c1b3eed09f4738412f91
Subproject commit 30a1fc4dc24133cc411e0232af87790ae2f845b2

View file

@ -152,7 +152,7 @@ class ElementName(unittest.TestCase):
attr = getattr(gst, name)
assert get_name(attr) == state
assert get_name(gst.STATE_VOID_PENDING) == 'NONE_PENDING'
assert get_name(gst.STATE_VOID_PENDING) == 'VOID_PENDING'
assert get_name(-1) == 'UNKNOWN!(-1)'
self.assertRaises(TypeError, get_name, '')