diff options
author | David Robillard <d@drobilla.net> | 2020-02-17 13:41:26 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-17 13:41:26 +0100 |
commit | 941a6ffaebeeb98bf570bdb092da253d140b4911 (patch) | |
tree | b500f2b928d266b1dbf0b9433016e358c901ba13 /bindings/test/python | |
parent | 221d838fa6140b2799aa54feb7b136b38c2ca0f4 (diff) | |
download | lilv-941a6ffaebeeb98bf570bdb092da253d140b4911.tar.gz lilv-941a6ffaebeeb98bf570bdb092da253d140b4911.tar.bz2 lilv-941a6ffaebeeb98bf570bdb092da253d140b4911.zip |
Add positive Python test for get_port_by_designation()
Diffstat (limited to 'bindings/test/python')
-rw-r--r-- | bindings/test/python/test_api.py | 5 |
1 files changed, 5 insertions, 0 deletions
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()) |