Mercurial > hg > vampy-host
comparison test/test_plugin_metadata.py @ 110:6c8ce9a97e8b
Back out rev 0a2f2e7803ea (naming: PyPluginObject members snake_case). Returning to camelCase for names that exist in Vamp SDK / VamPy already.
author | Chris Cannam |
---|---|
date | Wed, 17 Jun 2015 10:50:42 +0100 |
parents | cf56111935fa |
children | 4f590fc46ace |
comparison
equal
deleted
inserted
replaced
109:cf56111935fa | 110:6c8ce9a97e8b |
---|---|
68 except Exception: | 68 except Exception: |
69 pass | 69 pass |
70 | 70 |
71 def test_inputdomain(): | 71 def test_inputdomain(): |
72 plug = vh.load_plugin(plugin_key, rate, vh.ADAPT_NONE) | 72 plug = vh.load_plugin(plugin_key, rate, vh.ADAPT_NONE) |
73 assert plug.input_domain == vh.TIME_DOMAIN | 73 assert plug.inputDomain == vh.TIME_DOMAIN |
74 | 74 |
75 def test_info(): | 75 def test_info(): |
76 plug = vh.load_plugin(plugin_key, rate, vh.ADAPT_NONE) | 76 plug = vh.load_plugin(plugin_key, rate, vh.ADAPT_NONE) |
77 assert plug.info["identifier"] == "vamp-test-plugin" | 77 assert plug.info["identifier"] == "vamp-test-plugin" |
78 | 78 |