Mercurial > hg > vampy-host
diff test/test_collect.py @ 82:a11b57e9fb0b
naming: module methods snake_case
author | Chris Cannam |
---|---|
date | Wed, 21 Jan 2015 12:43:50 +0000 |
parents | cb0380c92c42 |
children | 78844c4b329c |
line wrap: on
line diff
--- a/test/test_collect.py Wed Jan 21 12:32:32 2015 +0000 +++ b/test/test_collect.py Wed Jan 21 12:43:50 2015 +0000 @@ -2,8 +2,8 @@ import vamp import numpy as np -testPluginKey = "vamp-test-plugin:vamp-test-plugin" -testPluginKeyFreq = "vamp-test-plugin:vamp-test-plugin-freq" +plugin_key = "vamp-test-plugin:vamp-test-plugin" +plugin_key_freq = "vamp-test-plugin:vamp-test-plugin-freq" rate = 44100 @@ -21,5 +21,5 @@ def test_collect_runs_at_all(): buf = input_data(blocksize) - results = vamp.collect(buf, rate, testPluginKey, {}, "input-summary") + results = vamp.collect(buf, rate, plugin_key, {}, "input-summary") assert type(results) == dict