Skip to content

Commit

Permalink
Change how to import lazy_fixture
Browse files Browse the repository at this point in the history
tests/common/test_models.py:
It seems that without importing from pytest_lazyfixture, lazy_fixture
types are not properly detected:
TvoroG/pytest-lazy-fixture#51
  • Loading branch information
dvzrv committed Nov 23, 2022
1 parent 3d28b56 commit 2c7664e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/common/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
from unittest.mock import patch

from pydantic import ValidationError
from pytest import lazy_fixture, mark, raises
from pytest import mark, raises
from pytest_lazyfixture import lazy_fixture

from repod.common import models
from tests.conftest import (
Expand Down

0 comments on commit 2c7664e

Please sign in to comment.