File test/config_old.py artifact c625befe0f part of check-in 3be9f23c57


# 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)