Esempio n. 1
0
 def setUp(self):
     self.setUpTestReactor()
     self.master = self.make_master(url="http://server/path/")
     self.master.config.www["graphql"] = {"debug": True}
     self.master.data._scanModule(endpoint)
     self.rsrc = graphql.V3RootResource(self.master)
     self.rsrc.reconfigResource(self.master.config)
Esempio n. 2
0
 def setUp(self):
     self.setUpTestReactor(use_asyncio=True)
     self.master = self.make_master(url="http://server/path/",
                                    wantGraphql=True)
     self.master.config.www["graphql"] = {"debug": True}
     self.rsrc = graphql.V3RootResource(self.master)
     self.rsrc.reconfigResource(self.master.config)
Esempio n. 3
0
 def setUp(self):
     self.patch(connector.DataConnector, 'submodules', [])
     self.setup_test_reactor(use_asyncio=True)
     self.master = self.make_master(url="http://server/path/",
                                    wantGraphql=True)
     self.master.config.www["graphql"] = {"debug": True}
     self.rsrc = graphql.V3RootResource(self.master)
     self.rsrc.reconfigResource(self.master.config)
Esempio n. 4
0
 def setUp(self):
     self.setup_test_reactor()
     self.master = self.make_master(url="http://server/path/")
     self.rsrc = graphql.V3RootResource(self.master)
     self.rsrc.reconfigResource(self.master.config)