21
22
23
24
25
26
27
28
29
30
31
|
def title_(pmd):
assert pmd["title"] == "basic PMD"
def doc_(pmd):
assert pmd["doc"] == "This the doc."
# Should probably migrate all to pmd.property access now that we have PluginMeta wrapper
def test_all_as_props(pmd):
for key, val in pmd.items():
assert getattr(pmd, key) == val
|
|
|
21
22
23
24
25
26
27
28
29
30
31
|
def title_(pmd):
assert pmd["title"] == "basic PMD"
def doc_(pmd):
assert pmd["doc"] == "This the doc."
# Should probably migrate all to PluginMeta.property access
def test_all_as_props(pmd):
for key, val in pmd.items():
assert getattr(pmd, key) == val
|