def test_trusted_config_multi_run_ho_harm(self): config = ConfigManager(temp_config_file) config.write(read_file('config_trusted_domains_output.php')) config.trusted('test.domain', 1000) self.assertEquals(read_file('config_trusted_domains_output.php'), config.read())