From 941a6ffaebeeb98bf570bdb092da253d140b4911 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 17 Feb 2020 13:41:26 +0100 Subject: Add positive Python test for get_port_by_designation() --- bindings/test/python/test_api.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bindings/test/python/test_api.py') diff --git a/bindings/test/python/test_api.py b/bindings/test/python/test_api.py index 4b32f07..919fee6 100644 --- a/bindings/test/python/test_api.py +++ b/bindings/test/python/test_api.py @@ -241,6 +241,11 @@ class PluginTests(unittest.TestCase): self.world.ns.lv2.InputPort, self.world.ns.lv2.control ) ) + self.assertIsNotNone( + self.plugin.get_port_by_designation( + self.lv2_OutputPort, self.params_amplitude + ) + ) self.assertIsNone(self.plugin.get_project()) self.assertIsNone(self.plugin.get_author_name()) self.assertIsNone(self.plugin.get_author_email()) -- cgit v1.2.1