File test/config_old.py from the latest check-in


# type: test
# title: old-style format
# description: still supported
# config:
#   <var name=html, value="str", type="text", description="similar to HTML input tags" >
# version: 0.1
# 
# Shouldn't be used anymore.

import pytest
import pluginconf

@pytest.fixture
def config():
    return pluginconf.plugin_meta(fn=__file__)["config"]

def name(config):
    assert config[0] == {'type': 'text', 'name': 'html', 'description': 'similar to HTML input tags', 'value': 'str'}
    #print(config)