tests: Fix tests in python2
authorThibault Saunier <tsaunier@gnome.org>
Fri, 24 Apr 2015 08:35:14 +0000 (10:35 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 24 Apr 2015 09:25:38 +0000 (11:25 +0200)
commited1f9eccba0ee0fd5aad6cb679c9aaf39148b474
tree4368d9e3eab8980caa39d41e4744f4b098ccc901
parentb80ea319cd414123d911a8a3a3e840d1ca6e3927
tests: Fix tests in python2

Python2 core checks that the first argument of a method is of the type
of the object if it does not have any info about the method, so when
using Gst not initialized it raiser a TypeError and not a
Gst.NotInitialized as expected.

+ And fix a typo
gi/overrides/Gst.py
testsuite/overrides_hack.py
testsuite/test_gst.py