zerver/lib/test_events: Refactor realm update tests.
zerver/lib/test_events: Refactor realm update tests.

Created do_set_realm_property_test and refactored individual realm tests
to use this function for testing updating realm properties.

verma-varsha/zulip,zulip/zulip,rishig/zulip,amanharitsh123/zulip,Galexrt/zulip,zulip/zulip,amanharitsh123/zulip,showell/zulip,synicalsyntax/zulip,tommyip/zulip,eeshangarg/zulip,vabs22/zulip,zulip/zulip,eeshangarg/zulip,kou/zulip,timabbott/zulip,dhcrzf/zulip,andersk/zulip,mahim97/zulip,synicalsyntax/zulip,shubhamdhama/zulip,jackrzhang/zulip,timabbott/zulip,brockwhittaker/zulip,jrowan/zulip,SmartPeople/zulip,tommyip/zulip,christi3k/zulip,brockwhittaker/zulip,mahim97/zulip,synicalsyntax/zulip,tommyip/zulip,brainwane/zulip,rht/zulip,jackrzhang/zulip,brainwane/zulip,timabbott/zulip,andersk/zulip,jphilipsen05/zulip,tommyip/zulip,ryanbackman/zulip,christi3k/zulip,punchagan/zulip,jrowan/zulip,rht/zulip,mahim97/zulip,showell/zulip,eeshangarg/zulip,vabs22/zulip,rishig/zulip,showell/zulip,dhcrzf/zulip,mahim97/zulip,kou/zulip,punchagan/zulip,mahim97/zulip,zulip/zulip,verma-varsha/zulip,eeshangarg/zulip,showell/zulip,jphilipsen05/zulip,j831/zulip,zulip/zulip,SmartPeople/zulip,hackerkid/zulip,Galexrt/zulip,brockwhittaker/zulip,timabbott/zulip,synicalsyntax/zulip,showell/zulip,hackerkid/zulip,rht/zulip,ryanbackman/zulip,punchagan/zulip,rishig/zulip,j831/zulip,Galexrt/zulip,tommyip/zulip,kou/zulip,andersk/zulip,vaidap/zulip,andersk/zulip,verma-varsha/zulip,andersk/zulip,SmartPeople/zulip,brockwhittaker/zulip,synicalsyntax/zulip,jackrzhang/zulip,jrowan/zulip,j831/zulip,vabs22/zulip,kou/zulip,shubhamdhama/zulip,synicalsyntax/zulip,brockwhittaker/zulip,shubhamdhama/zulip,vaidap/zulip,SmartPeople/zulip,showell/zulip,andersk/zulip,jackrzhang/zulip,jackrzhang/zulip,j831/zulip,andersk/zulip,rishig/zulip,ryanbackman/zulip,brockwhittaker/zulip,hackerkid/zulip,dhcrzf/zulip,vabs22/zulip,zulip/zulip,dhcrzf/zulip,kou/zulip,zulip/zulip,punchagan/zulip,rht/zulip,verma-varsha/zulip,jphilipsen05/zulip,amanharitsh123/zulip,jackrzhang/zulip,showell/zulip,hackerkid/zulip,jrowan/zulip,vaidap/zulip,verma-varsha/zulip,timabbott/zulip,hackerkid/zulip,amanharitsh123/zulip,jackrzhang/zulip,ryanbackman/zulip,amanharitsh123/zulip,vabs22/zulip,synicalsyntax/zulip,vaidap/zulip,mahim97/zulip,j831/zulip,ryanbackman/zulip,verma-varsha/zulip,jphilipsen05/zulip,dhcrzf/zulip,rht/zulip,jphilipsen05/zulip,rishig/zulip,punchagan/zulip,hackerkid/zulip,tommyip/zulip,shubhamdhama/zulip,eeshangarg/zulip,shubhamdhama/zulip,Galexrt/zulip,christi3k/zulip,SmartPeople/zulip,shubhamdhama/zulip,vaidap/zulip,amanharitsh123/zulip,brainwane/zulip,j831/zulip,christi3k/zulip,jphilipsen05/zulip,vabs22/zulip,shubhamdhama/zulip,eeshangarg/zulip,punchagan/zulip,tommyip/zulip,jrowan/zulip,eeshangarg/zulip,brainwane/zulip,ryanbackman/zulip,hackerkid/zulip,timabbott/zulip,dhcrzf/zulip,Galexrt/zulip,kou/zulip,SmartPeople/zulip,Galexrt/zulip,christi3k/zulip,vaidap/zulip,brainwane/zulip,punchagan/zulip,rishig/zulip,rishig/zulip,brainwane/zulip,Galexrt/zulip,jrowan/zulip,kou/zulip,timabbott/zulip,dhcrzf/zulip,brainwane/zulip,rht/zulip,rht/zulip,christi3k/zulip