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

no way to pass --loadmodule argument to command line #656

Closed
mguijarr opened this issue May 2, 2024 · 2 comments · Fixed by #661
Closed

no way to pass --loadmodule argument to command line #656

mguijarr opened this issue May 2, 2024 · 2 comments · Fixed by #661

Comments

@mguijarr
Copy link

mguijarr commented May 2, 2024

I would like to be able to start redis in tests, with redis-server extended with Redis extension modules.

The --loadmodule command line argument is here for this. Unfortunately it is not supported by pytest-redis.

I tried other possibilities, but actually it is not possible:

So, the easiest would really be to add modules as a valid keyword argument to the the Redis executor.

mguijarr pushed a commit to mguijarr/pytest-redis that referenced this issue May 2, 2024
@mguijarr
Copy link
Author

mguijarr commented May 2, 2024

I made a pull request to fix this.

mguijarr pushed a commit to mguijarr/pytest-redis that referenced this issue May 10, 2024
@mguijarr
Copy link
Author

I made an update pull request

@fizyk fizyk closed this as completed in #661 Jun 5, 2024
fizyk added a commit that referenced this issue Jun 5, 2024
fix issue #656: add 'modules' keyword arg to load Redis extension modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant