def test_tappedout() -> None: prev = APP.config['SERVER_NAME'] APP.config['SERVER_NAME'] = configuration.server_name() with APP.app_context(): # type: ignore # pylint: disable=no-member tappedout.scrape() # type: ignore APP.config['SERVER_NAME'] = prev
def test_tappedout(): prev = APP.config["SERVER_NAME"] APP.config["SERVER_NAME"] = "127:0.0.1:5000" with APP.app_context(): tappedout.scrape() APP.config["SERVER_NAME"] = prev
def deckcycle_tappedout(): from decksite.scrapers import tappedout if not tappedout.is_authorised(): tappedout.login() tappedout.scrape() return home()
def test_tappedout() -> None: prev = APP.config['SERVER_NAME'] APP.config['SERVER_NAME'] = configuration.server_name() with APP.app_context(): tappedout.scrape() APP.config['SERVER_NAME'] = prev
def test_tappedout() -> None: prev = APP.config['SERVER_NAME'] APP.config['SERVER_NAME'] = '127:0.0.1:5000' with APP.app_context(): tappedout.scrape() APP.config['SERVER_NAME'] = prev