Skip to content

Commit

Permalink
test docs
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna committed Oct 13, 2023
1 parent 1d0f8b4 commit 9223fb5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_codemod_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ def pytest_generate_tests(metafunc):
metafunc.parametrize("codemod", registry.codemods)


def test_load_codemod_description(codemod):
def test_load_codemod_docs_info(codemod):
if codemod.name in ["order-imports"]:
pytest.xfail(reason="order-imports has no description")
assert codemod._get_description() is not None # pylint: disable=protected-access
assert codemod.review_guidance in (
"Merge After Review",
"Merge After Cursory Review",
"Merge Without Review",
)

0 comments on commit 9223fb5

Please sign in to comment.