File test/config_old.py artifact c625befe0f part of check-in 85f6aa649a


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