def test_get_schema(self):
     schema = dictify(QdSchema().dump())
     got = self.node.call(
         self.node.request(operation="GET-JSON-SCHEMA",
                           identity="self")).body
     self.assertEqual(schema, dictify(json.loads(got)))
     got = self.node.call(
         self.node.request(operation="GET-SCHEMA", identity="self")).body
     self.assertEqual(schema, got)
 def test_get_schema(self):
     schema = dictify(QdSchema().dump())
     got = self.node.call(self.node.request(operation="GET-JSON-SCHEMA", identity="self")).body
     self.assertEquals(schema, dictify(json.loads(got)))
     got = self.node.call(self.node.request(operation="GET-SCHEMA", identity="self")).body
     self.assertEquals(schema, got)
 def test_ssl(self):
     """Simple test for SSL connection. Note system_tests_qdstat has a more complete SSL test"""
     url = Url(self.router_1.addresses[1], scheme="amqps")
     schema = dictify(QdSchema().dump())
     actual = self.run_qdmanage("GET-JSON-SCHEMA")
     self.assertEquals(schema, dictify(json.loads(actual)))
 def test_get_schema(self):
     schema = dictify(QdSchema().dump())
     actual = self.run_qdmanage("get-json-schema")
     self.assertEquals(schema, dictify(json.loads(actual)))
     actual = self.run_qdmanage("get-schema")
     self.assertEquals(schema, dictify(json.loads(actual)))
Beispiel #5
0
 def test_get_schema(self):
     schema = dictify(QdSchema().dump())
     actual = self.run_qdmanage("get-json-schema")
     self.assertEqual(schema, dictify(json.loads(actual)))
     actual = self.run_qdmanage("get-schema")
     self.assertEqual(schema, dictify(json.loads(actual)))
 def test_ssl(self):
     """Simple test for SSL connection. Note system_tests_qdstat has a more complete SSL test"""
     url = Url(self.router_1.addresses[1], scheme="amqps")
     schema = dictify(QdSchema().dump())
     actual = self.run_qdmanage("GET-JSON-SCHEMA")
     self.assertEquals(schema, dictify(json.loads(actual)))