def test_postUnknownNode(self):
        request = DummyRequest([b''])
        request.method = b'POST'

        def rendered(result):
            self.assertEqual(http.NOT_FOUND, request.responseCode)

        uri = gateway.getXMPPURI(componentJID, u'unknown')
        request.args[b'uri'] = [uri]
        request.content = StringIO(b'')

        d = _render(self.resource, request)
        d.addCallback(rendered)
        return d
General drawing function for a horizontal line.
dataset/ETHPy150Open ralphm/idavoll/idavoll/test/test_gateway.py/DeleteResourceTest.test_postUnknownNode--crossover with--dataset/ETHPy150Open adobe-type-tools/box-drawing/boxDrawing.py/horLine