File test/workarounds.py artifact 8bfbb69952 part of check-in e12fd2f3f3


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