summaryrefslogtreecommitdiffstats
path: root/bindings/test
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/test')
-rw-r--r--bindings/test/bindings_test_plugin.ttl.in1
-rw-r--r--bindings/test/python/test_api.py5
2 files changed, 6 insertions, 0 deletions
diff --git a/bindings/test/bindings_test_plugin.ttl.in b/bindings/test/bindings_test_plugin.ttl.in
index 1600283..2430831 100644
--- a/bindings/test/bindings_test_plugin.ttl.in
+++ b/bindings/test/bindings_test_plugin.ttl.in
@@ -41,6 +41,7 @@
a lv2:OutputPort ,
lv2:ControlPort ;
lv2:index 1 ;
+ lv2:designation <http://lv2plug.in/ns/ext/parameters#amplitude> ;
lv2:symbol "output" ;
lv2:name "Output"
] , [
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())