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

Make gotenberg server optional in tests #344

Merged
merged 2 commits into from
Jan 1, 2025

Conversation

staticfox
Copy link
Collaborator

This allows tests to fallback to using a mock library to handle the HTTP request to gotenberg. I've left the option to use a real gotenberg server in case it's desired in CI or dev environments.

This allows tests to fallback to using a mock library to handle
the HTTP request to the server.
@staticfox staticfox requested a review from rechner December 31, 2024 04:37
requirements.txt Show resolved Hide resolved
@staticfox
Copy link
Collaborator Author

staticfox commented Dec 31, 2024 via email

This includes the respx Python dependency
@staticfox
Copy link
Collaborator Author

Updated with the new image tag

Copy link
Member

@rechner rechner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍾

@staticfox staticfox merged commit 7ab4039 into production Jan 1, 2025
3 checks passed
@staticfox staticfox deleted the change/make-gotenberg-optional-in-tests branch January 1, 2025 02:16
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 this pull request may close these issues.

2 participants