-
Notifications
You must be signed in to change notification settings - Fork 6
Claude/fix pytest import error #14
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
base: main
Are you sure you want to change the base?
Claude/fix pytest import error #14
Conversation
…to-pgmq Add FastAPI REST API for pgmq
…to-pgmq-y2hiz9 Add Swagger specification for REST API
- Convert test_api.py from pytest to unittest to fix ModuleNotFoundError - Replace pytest.importorskip() with unittest.skipIf decorator - Convert test functions to unittest.TestCase methods - Remove unused FastAPI import from __init__.py that was causing lint error
|
Important Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services. |
| return _create_app(queue=queue) | ||
|
|
||
|
|
||
| __all__ = ["Message", "PGMQueue", "transaction", "async_transaction", "create_app"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to use try/exception and show some error if FastAPI is not installed
|
Also, If you commit in this branch, automatically it will be added to this |
|
@javadghane Test failed, you can see the log yourself but if you need any help, feel free to ask! |
No description provided.