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


# encoding: utf-8
##type: test
# title: workarounds
# description: pylint hates #type:
# version: 0.7.7
#
# Use double ## hash for type:

import pytest
import pluginconf

@pytest.fixture
def pmd():
    return pluginconf.plugin_meta(fn=__file__)

def type_(pmd):
    assert pmd["type"] == "test"
    assert pmd["encoding"] == "utf-8"