Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

billing fixtures: Normalize account_name values in fixtures.

Vishnu KS127d3de12599
diff --git a/corporate/tests/test_stripe.py b/corporate/tests/test_stripe.py
index 3315d45e385..9e28210e4a8 100644
--- a/corporate/tests/test_stripe.py
+++ b/corporate/tests/test_stripe.py
@@ -217,6 +217,7 @@ def normalize_fixture_data(
# Don't use (..) notation, since the matched strings may be small integers that will also match
# elsewhere in the file
'"realm_id": "[0-9]+"': '"realm_id": "%d"',
+ r'"account_name": "[\w\s]+"': '"account_name": "NORMALIZED-%d"',
}
)
# Normalizing across all timestamps still causes a lot of variance run to run, which is