-
Notifications
You must be signed in to change notification settings - Fork 206
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
Unit tests for remote client mq #32
Conversation
|
||
logger = logging.getLogger(__name__) | ||
logger.setLevel(logging.DEBUG) | ||
logging.basicConfig(level=logging.DEBUG) | ||
|
||
|
||
class RemoteClientMessageQueue(BaseMessageQueue): | ||
base_url: str | ||
base_url: PydanticValidatedUrl |
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.
@logan-markewich: while still a str type, this has to be a valid http or https url now
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.
There's a lot of places where I hardcoded http://....
when creating URLs -- TODO: probably need a better pattern for that to account for https
* wip * add register_consumer unit test * add unit test for deregister consumer * dry * change get_consumers in simple to path param * unit test for publish; move up publish_time stats for QueueMessage * update test * mv and rename remote client to message_queues.simple * cr
No description provided.