Ejemplo n.º 1
0
    def setUp(self):
        host = "localhost"
        port = 6001
        debug = True

        self.api = start_flask_api_server(host, port, debug)

        self.request_url = f"http://{host}:{port}/" + "{}/{}"
        pass
    def setUp(self):
        host = "localhost"
        port = 6003
        debug = True

        self.api = start_flask_api_server(host, port, debug)

        self.request_url = f"http://{host}:{port}/" + "{}/{}"

        self.games = [
            'lotto',
            'lotto_plus1',
            'lotto_plus2',
            'powerball',
            'powerball_plus',
        ]
        pass
Ejemplo n.º 3
0
    def setUp(self):
        host = "localhost"
        port = 6006
        debug = True

        logger.debug(
            f"Server... started at {host}:{port} with debug being {debug}.")
        self.api = start_flask_api_server(host, port, debug)
        logger.debug(f"Server is running.. {self.api}")

        self.request_url = f"http://{host}:{port}/" + "{}/{}"

        self.games = [
            'lotto',
            'lotto_plus1',
            'lotto_plus2',
            'powerball',
            'powerball_plus',
        ]
        pass