multiqueue: update for renamed log id macros
[platform/upstream/gstreamer.git] / tests / python / python-full.py
1 import sys
2 from pathlib import Path
3
4 sys.path.append(str(Path(__file__).parent / "../../subprojects/gst-python/testsuite"))
5
6 import overrides_hack
7
8 overrides_hack
9
10 from common import TestCase, unittest
11 from gi.repository import Gst
12
13
14 class TestBin(TestCase):
15     def test(self):
16         Gst.init(None)
17         self.assertEqual(Gst.ElementFactory.make("bin", None).sinkpads, [])
18         self.assertEqual(float(Gst.Fraction(1, 2)), 0.5)
19
20
21 if __name__ == "__main__":
22     unittest.main()