22
22
def test_service_config(self):
23
23
# TxLongPollServer pokes some .ini configuration into its
24
24
# service_config attributes.
26
27
fixture = self.useFixture(TxLongPollServer(
27
28
broker_user='guest', broker_password='guest', broker_vhost='/',
28
29
broker_port=123, frontend_port=None,
30
31
service_config = SafeConfigParser()
31
32
service_config.readfp(StringIO(getattr(fixture, 'service_config')))
32
33
self.assertEqual(["txlongpoll"], service_config.sections())