Skip to content

Commit

Permalink
Skip deprecated test
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkrzyskow committed Mar 16, 2023
1 parent 8360982 commit f83d427
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mkdocs_awesome_pages_plugin/tests/e2e/test_mkdocs_nav.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import pytest
from mkdocs import __version__ as mkdocs_version

from .base import E2ETestCase
from ...meta import DuplicateRestItemError
from ...navigation import NavEntryNotFound
Expand Down Expand Up @@ -176,6 +179,10 @@ def test_sections_nested_rest(self):
],
)

@pytest.mark.skipif(
mkdocs_version >= "1.3.0",
reason="Since version 1.3 MkDocs validates nav and Dict type is invalid.",
)
def test_sections_nested_rest_dict(self):
navigation = self.mkdocs(
self.createConfig(
Expand Down

0 comments on commit f83d427

Please sign in to comment.