Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RecursionError arises if view query is incorrect #3

Open
Sheripov opened this issue Apr 11, 2023 · 0 comments
Open

RecursionError arises if view query is incorrect #3

Sheripov opened this issue Apr 11, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Sheripov
Copy link
Collaborator

test setup failed
request = <SubRequest '_django_db_marker' for <Function test_public_user_can_not_be_set_as_company_admin>>

    @pytest.fixture(autouse=True)
    def _django_db_marker(request) -> None:
        """Implement the django_db marker, internal to pytest-django."""
        marker = request.node.get_closest_marker("django_db")
        if marker:
>           request.getfixturevalue("_django_db_helper")

.venv/lib/python3.10/site-packages/pytest_django/plugin.py:465: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/conftest.py:293: in django_db_setup
    view_processor.process_materialized_views()
.venv/lib/python3.10/site-packages/django_materialized_view/processor.py:37: in process_materialized_views
    self.create_views()
.venv/lib/python3.10/site-packages/django_materialized_view/processor.py:92: in create_views
    self.create_views()
.venv/lib/python3.10/site-packages/django_materialized_view/processor.py:92: in create_views
    self.create_views()
E   RecursionError: maximum recursion depth exceeded while calling a Python object
!!! Recursion detected (same locals & position)
@Sheripov Sheripov added the bug Something isn't working label Apr 11, 2023
@Sheripov Sheripov self-assigned this Apr 11, 2023
@Sheripov Sheripov changed the title raised RecursionError if view query incorrect RecursionError arises if view query is incorrect Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant