zulip/corporate/tests
Prakhar Pratyush 4715a058b0 migrate_customers: Migrate customer from server to realms during login.
Earlier, the 'handle_customer_migration_from_server_to_realms'
function was called during the send analytics step.

It resulted in an error for customers having multiple Zulip servers,
one for testing and the others for not-testing, sharing a
push bouncer registration.

The migration step when run in a test instance caused customers to
have their legacy plan migrated to a test realm, resulting in them
losing their legacy plan.

This commit moves the migration step to run during plan management
login step. This reduces the chances of losing legacy
plan as we expect them to only verify that 8.0 upgrade works and
not bother trying to login to plan management from their test instance.
2024-01-05 12:02:54 -08:00
..
stripe_fixtures support: Add updating minimum licenses requirement after discount. 2024-01-04 18:42:07 -08:00
__init__.py
test_remote_billing.py migrate_customers: Migrate customer from server to realms during login. 2024-01-05 12:02:54 -08:00
test_remote_counts.py python: Consistently use from…import for datetime. 2023-12-05 12:01:18 -08:00
test_stripe.py migrate_customers: Migrate customer from server to realms during login. 2024-01-05 12:02:54 -08:00