diff --git a/tools/test-backend b/tools/test-backend index 0fcca806ba..73309e3512 100755 --- a/tools/test-backend +++ b/tools/test-backend @@ -75,7 +75,6 @@ not_yet_fully_covered = [ "analytics/views/stats.py", "analytics/views/support.py", # Major lib files should have 100% coverage - "zerver/actions/create_realm.py", "zerver/actions/message_edit.py", "zerver/actions/presence.py", "zerver/lib/addressee.py", diff --git a/zerver/tests/test_realm.py b/zerver/tests/test_realm.py index 8d4a876ea3..a6887bba07 100644 --- a/zerver/tests/test_realm.py +++ b/zerver/tests/test_realm.py @@ -897,6 +897,7 @@ class RealmTest(ZulipTestCase): invite_required=False, plan_type=Realm.PLAN_TYPE_STANDARD_FREE, org_type=Realm.ORG_TYPES["community"]["id"], + enable_read_receipts=True, ) self.assertEqual(realm.string_id, "realm_string_id") self.assertEqual(realm.name, "realm name") @@ -906,6 +907,7 @@ class RealmTest(ZulipTestCase): self.assertEqual(realm.plan_type, Realm.PLAN_TYPE_STANDARD_FREE) self.assertEqual(realm.org_type, Realm.ORG_TYPES["community"]["id"]) self.assertEqual(realm.date_created, date_created) + self.assertEqual(realm.enable_read_receipts, True) self.assertTrue( RealmAuditLog.objects.filter(