mirror of https://github.com/zulip/zulip.git
688c011a80
Earlier, it was passing tests because the deffered_work queue that calls send_realms_only_to_push_bouncer didn't update the realms propery based on response received from bouncer. This prep commit removes the invalid "dummy-uuid" used, as any call to send_realms_only_to_push_bouncer will update realms properties too. We return an empty realms array as the realm is created midway in do_create_realm, so the uuid is not already available. Also, our intent here is not to verify the behaviour of the send_realms_only_to_push_bouncer function because we'll have separate tests for that. Here, we verify that deffered_work event was sent and eventually it made call to send_to_push_bouncer with appropriate data. |
||
---|---|---|
.. | ||
actions | ||
data_import | ||
integration_fixtures/nagios | ||
lib | ||
management | ||
migrations | ||
openapi | ||
tests | ||
tornado | ||
transaction_tests | ||
views | ||
webhooks | ||
worker | ||
__init__.py | ||
apps.py | ||
context_processors.py | ||
decorator.py | ||
filters.py | ||
forms.py | ||
logging_handlers.py | ||
middleware.py | ||
models.py | ||
signals.py |