def setUp(self): self.res = proxy.Response(status=200) self.res.body = "babbys request" self.conf = config.Conf() self.conf.host = 'jsonplaceholder.typicode.com' self.conf.scheme = 'https' self.conf.port = 443 self.conf.dev = True
def setUp(self): self.conf = config.Conf() self.conf.host = 'jsonplaceholder.typicode.com' self.conf.scheme = 'https://http' # bad self.conf.port = 443
def setUp(self): self.conf = config.Conf() self.conf.host = 'jsonplaceholder.typicode.com' self.conf.scheme = 'https' self.conf.port = 443 self.conf.dev = True