def test_adding_post_hook_twice_adapter(self):
        d = self._hookTest("""endpoints:
  "POST %(dockerEndpoint)s":
    pre: []
    post: [adder, adder2]
adapters:
  adder: http://127.0.0.1:%(adderPort)d%(adapterEndpoint)s
  adder2: http://127.0.0.1:%(adderTwoPort)d%(adapterEndpoint)s""",
            adderArgs=dict(post=True),
            adderTwoArgs=dict(post=True))
        def verify(response):
            self.assertEqual(response,
                    {"Number": 4, "SeenByFakeDocker": 42})
        d.addCallback(verify)
        return d
L{INewsStorage.postRequest} forwards a message to the moderator if it
dataset/ETHPy150Open ClusterHQ/powerstrip/powerstrip/test/test_core.py/ProxyTests.test_adding_post_hook_twice_adapter--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/news/test/test_database.py/ModerationTestsMixin.test_postModerated