Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_mattermost: Fix channel description assert.
PieterCKbe9ea7a0be69
diff --git a/zerver/tests/test_mattermost_importer.py b/zerver/tests/test_mattermost_importer.pyindex 71713399c72..8bc5f81b107 100644--- a/zerver/tests/test_mattermost_importer.py+++ b/zerver/tests/test_mattermost_importer.py@@ -235,7 +235,9 @@ class MattermostImportTestBase(ZulipTestCase):mattermost_channel_id = channel_data["name"]imported_channel = Stream.objects.get(realm=imported_realm, name=channel_name)- self.assertEqual(imported_channel.description, channel_data["purpose"])+ self.assertEqual(+ imported_channel.description, channel_data["purpose"] or channel_data["header"]+ )self.assertEqual(imported_channel.invite_only, channel_data["type"] == "P")expected_subscribers = set(exported_channel_subscriber_dict[mattermost_channel_id])