2 from pathlib import Path
4 sys.path.append(str(Path(__file__).parent / "../../subprojects/gst-python/testsuite"))
10 from common import TestCase, unittest
11 from gi.repository import Gst
14 class TestBin(TestCase):
17 self.assertEqual(Gst.ElementFactory.make("bin", None).sinkpads, [])
18 self.assertEqual(float(Gst.Fraction(1, 2)), 0.5)
21 if __name__ == "__main__":