Artifact 10b052f1312258bd7a7c75a4b88e967e6c93b3d419e7eb1c54f9693c518a76a2:


# 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."