Mercurial > hg > vampy-host
diff test_metadata.py @ 19:fe83d6d78429
More tests
author | Chris Cannam |
---|---|
date | Tue, 25 Nov 2014 10:10:49 +0000 |
parents | 3893b76daf80 |
children | 13dcfe8c7ed7 |
line wrap: on
line diff
--- a/test_metadata.py Tue Nov 25 09:58:25 2014 +0000 +++ b/test_metadata.py Tue Nov 25 10:10:49 2014 +0000 @@ -5,8 +5,8 @@ ##!!! could use: plugin version -def test_enumerate(): - plugins = vh.enumeratePlugins() +def test_list(): + plugins = vh.listPlugins() if testPluginKey not in plugins: print("Test plugin " + testPluginKey + " not installed or not returned by enumerate: can't run any tests without it") assert testPluginKey in plugins @@ -16,11 +16,11 @@ assert len(path) > 0 def test_getlibrary(): - lib = vh.getLibraryForPlugin(testPluginKey) + lib = vh.getLibraryFor(testPluginKey) assert lib != "" def test_getoutputlist(): - outputs = vh.getOutputList(testPluginKey) + outputs = vh.getOutputsOf(testPluginKey) assert len(outputs) == 8 assert "curve-vsr" in outputs