File test/basic.py artifact 10b052f131 part of check-in 85f6aa649a
# type: test # title: basic PMD # description: check for some fields # version: 0.1-rc1 # # This the doc. import pytest import pluginconf @pytest.fixture def pmd(): return pluginconf.plugin_meta(fn=__file__) def type_(pmd): assert pmd["type"] == "test" def version_(pmd): assert pmd["version"] == "0.1-rc1" def title_(pmd): assert pmd["title"] == "basic PMD" def doc_(pmd): assert pmd["doc"] == "This the doc."